Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 07:30:47 +0100
From:      Sebastian Holmqvist <sebastian.holmqvist@gmail.com>
To:        pgollucci@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: rubygem-rails-2.3.4
Message-ID:  <88B3456F-FBC4-417F-B5B0-47DA9A09384B@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi!

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

/usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/bin/../lib/ 
rails_generator/options.rb:32:in `default_options': undefined method  
`write_inheritable_attribute' for Rails::Generator::Base:Class  
(NoMethodError)

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.

Sincerely,

/Sebastian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88B3456F-FBC4-417F-B5B0-47DA9A09384B>