On Wed, Jun 3, 2009 at 10:06 PM, Doug Lilla <
[email protected]> wrote:

>
> Hello,
>
>
> I'm having a problem with Rails since updating to Rails 2.3.2 and Ruby
> 1.9.1 on PPC MAC 10.5.6.
> I installed twice,but still get the same error when trying to create a
> new Rails app:
>
>
> /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/lib/rails_generator/options.rb:32:in
> `default_options': undefined method `write_inheritable_attribute' for
> Rails::Generator::Base:Class (NoMethodError)
>  from
>
> /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/lib/rails_generator/base.rb:90:in
> `<class:Base>'
>  from
>
> /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/lib/rails_generator/base.rb:85:in
> `<module:Generator>'
>  from
>
> /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/lib/rails_generator/base.rb:48:in
> `<module:Rails>'
>  from
>
> /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/lib/rails_generator/base.rb:6:in
> `<top (required)>'
>  from
>
> /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/lib/rails_generator.rb:34:in
> `require'
>  from
>
> /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/lib/rails_generator.rb:34:in
> `<top (required)>'
>  from /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/bin/rails:14:in
> `require'
>  from /Users/douglilla/.gem/ruby/1.9.1/gems/rails-2.3.2/bin/rails:14:in
> `<top (required)>'
>  from /usr/local/bin/rails:19:in `load'
>  from /usr/local/bin/rails:19:in `<main>'
>
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
>
> DL


a)  What's does the following commands generate?

    ruby -v
    gem -v

b)  Did you try to install Rails using the following?

     sudo gem install rails

-Conrad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to