FreeBSD Port: rubygem-rails-2.3.4

Sebastian Holmqvist sebastian.holmqvist at
Tue Nov 3 06:57:12 UTC 2009


The port rubygem-rails installed flawlessly, but executing rails  
failed with an error;

rails_generator/options.rb:32:in `default_options': undefined method  
`write_inheritable_attribute' for Rails::Generator::Base:Class  

Troubleshooting revealed the following;

irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'activesupport'
LoadError: no such file to load -- iconv

So I installed /usr/ports/converters/ruby-iconv and now it works! It  
would be nice to include ruby-iconv as a dependancy to avoid this issue.

Note that this is a freshly installed 7.2-release.



More information about the freebsd-ports mailing list