I tried to get this working and ran into a problem:
- latest cygwin
- ruby 1.9.1p129 (same problem with p0). install in /opt/ruby19
- rails 2.3.2
1) Installed ruby 1.9.1p129 with: --prefix=/opt/ruby19. No errors
or problems. make install worked.
2) gem install rails
No problem, rails installs just fine in the /opt/ruby19 hierarchy.
3) Attempt to create a new rails application: FAILED
(cygwin) % rails testapp
undefined method `camelize' for "app":String
The back-trace:
undefined method `camelize' for "app":String
/opt/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/rails_generator/
spec.rb:29:in `class_name'
/opt/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/rails_generator/
spec.rb:38:in `block in lookup_class'
/opt/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/rails_generator/
spec.rb:36:in `each_object'
/opt/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/rails_generator/
spec.rb:36:in `lookup_class'
/opt/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/rails_generator/
spec.rb:18:in `klass'
/opt/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/rails_generator/
lookup.rb:140:in `instance'
/opt/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/rails_generator/
scripts.rb:31:in `run'
/opt/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.2/bin/rails:18:in
`<top (required)>'
/opt/ruby19/bin/rails:19:in `load'
/opt/ruby19/bin/rails:19:in `<main>'
Anyone have any ideas on how this could be fixed?
If I use a 1.8.x version of ruby, everything works fine.
???
Thanks,
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---