From: xrx Date: 2009-08-16T16:40:04+09:00 Subject: Re: ruby 1.9 side by side with 1.8 On Aug 15, 10:54 am, oren wrote: > > For now, I'd recommend doing "gem install" for all your gems in both > > versions of ruby. > > GL! > > -r > > It's installing it but gem list shown nothing but rake! > > sudo gem install rails > > Successfully installed rails-2.3.3 > 1 gem installed > Installing ri documentation for rails-2.3.3... > Updating ri class cache with 5437 classes... > Installing RDoc documentation for rails-2.3.3... > ~> gem list > > *** LOCAL GEMS *** > > rake (0.8.7) Try this Create a .gemrc file in your home directory (~) to declare GEM_PATH and GEM_HOME, this is in yaml format. Replace the gempath with whatever the path is on your machine if its different. # add what is below gemhome: /home/yourusername/gems gempath: - /home/yourusername/gems - /usr/lib/ruby/gems/1.8 Verify the environment has changed with: $ gem environment Hope this helps -- Daniel Roux