From owner-freebsd-ports@FreeBSD.ORG Tue Nov 3 07:17:33 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C164106566B for ; Tue, 3 Nov 2009 07:17:33 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from EXHUB015-4.exch015.msoutlookonline.net (exhub015-4.exch015.msoutlookonline.net [207.5.72.96]) by mx1.freebsd.org (Postfix) with ESMTP id 695B68FC23 for ; Tue, 3 Nov 2009 07:17:33 +0000 (UTC) Received: from [192.168.0.241] (140.211.11.254) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.375.2; Mon, 2 Nov 2009 23:07:29 -0800 Message-ID: <4AEFD6AF.2020401@FreeBSD.org> Date: Mon, 2 Nov 2009 23:07:27 -0800 From: "Philip M. Gollucci" Organization: FreeBSD User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Sebastian Holmqvist References: <88B3456F-FBC4-417F-B5B0-47DA9A09384B@gmail.com> In-Reply-To: <88B3456F-FBC4-417F-B5B0-47DA9A09384B@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: rubygem-rails-2.3.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 07:17:33 -0000 Sebastian Holmqvist wrote: > 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 Yes it would :) I'm hoping to have some time to return to ports work after ApacheCon US 2009 ends. If some comitter wants to add this go for it.