Hi
Thanks for the reply.I am able to install ruby 1.9.1 on another path.
What I need is install a new instance of rails 2.3.2 using the ruby
1.9.1. So that I can work with my old projects on Ruby 1.8.6+rails2.3.2
without conflicting the new Ruby 1.9.1+Rails 2.3.2 setup.
I tried it this way:
1.I installed ruby 1.9.1 on a new path using --prefix.
Then I am able to get the ruby version:
#/path_to_new?ruby/bin/ruby -v
says: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
2. Then did a gem install like
#/path_to_ruby1.9.1/bin/gem install rails
--install-dir=/path_to/new_rails_instance.
Is this the right aproach?
Any way I got this error when I did
#path_to/new_rails_instance/rails -v
gives error
<internal:gem_prelude>:249:in `push_gem_version_on_load_path': undefined
method `<=>' for nil:NilClass (NoMethodError)
from <internal:gem_prelude>:14:in `gem'
from ./rails:18:in `<main>'
Where might be the error?
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---