FreeBSD Port: rubygem-rails-2.3.4

View: New views
3 Messages — Rating Filter:   Alert me  

FreeBSD Port: rubygem-rails-2.3.4

by Sebastian Holmqvist-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
freebsd-ports@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@..."

Re: FreeBSD Port: rubygem-rails-2.3.4

by Philip M. Gollucci-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

_______________________________________________
freebsd-ports@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@..."

Re: FreeBSD Port: rubygem-rails-2.3.4

by Alexander Logvinov-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03.11.2009 15:07 Philip M. Gollucci wrote:
> 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.
 Done. Can I add the same patch to mail/rubygem-actionmailer (ports/139379)?

- --
Best regards,
Alexander Logvinov <ports@...>
PGP: 0x1C47D5C0 http://people.freebsd.org/~avl/avl.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAkrwaxcACgkQ4TVBdhxH1cC0rQCdHBPyJRS23jtsdvR3rvgXUKD6
TE0AoLR/t5WIFsGL/CMqfBvBSL/5kZDh
=ep/P
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-ports@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@..."