Updating the port textproc/rubygem-sass fails with the error shown below. This happens with most recent CURRENT: FreeBSD 11.0-CURRENT #4 r297480: Fri Apr 1 07:02:48 CEST 2016 amd64 and recent /usr/ports: URL: https://svn.freebsd.org/ports/head Relative URL: ^/head Repository Root: https://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 412341 Node Kind: directory Schedule: normal Last Changed Author: mat Last Changed Rev: 412341 Last Changed Date: 2016-04-01 15:16:17 +0200 (Fr., 01 Apr. 2016) [...] ===> Building for rubygem-sass-3.4.22 Successfully built RubyGem Name: sass Version: 3.4.22 File: sass-3.4.22.gem ===> Staging for rubygem-sass-3.4.22 ===> Generating temporary packing list (cd /usr/ports/textproc/rubygem-sass/work/sass-3.4.22; /usr/bin/env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 RB_USER_INSTALL=yes /usr/local/bin/gem21 install -l --no-update-sources --install-dir /usr/ports/textproc/rubygem-sass/work/stage/usr/local/lib/ruby/gems/2.1 --ignore-dependencies --bindir=/usr/ports/textproc/rubygem-sass/work/stage/usr/local/bin --rdoc --ri sass-3.4.22.gem -- --build-args ) Successfully installed sass-3.4.22 Installing ri documentation for sass-3.4.22 Installing darkfish documentation for sass-3.4.22 ERROR: While executing gem ... (RDoc::Error) error generating /usr/ports/textproc/rubygem-sass/work/stage/usr/local/lib/ruby/gems/2.1/doc/sass-3.4.22/rdoc/Rakefile.html: Error while evaluating /usr/local/lib/ruby/gems/2.1/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/page.rhtml: undefined method `chomp' for nil:NilClass (RDoc::Error) *** Error code 1 Stop. make: stopped in /usr/ports/textproc/rubygem-sass ===>>> make stage failed for textproc/rubygem-sass ===>>> Aborting update ===>>> Update for rubygem-sass-3.4.21 failed ===>>> Aborting update
This is because the rubygem-rdoc3 port is installed. Uninstall it and the issue should disappear. Now that rails3 is deprecated, nothing should be pulling in rdoc3 so it can go away soon too. Closing issue.