Search code examples
ruby-on-railsinstallationrubygemsubuntu-9.04

How to install Rails 2.3.2 and 2.3.4 simultaneously on Ubuntu 9.04?


I need to install Rails 2.3.2 and Rails 2.3.4 simultaneously on my Ubuntu 9.04 server. How do I do this?

When I run:

sudo gem install rails

...it installs version 2.3.4. Is there a single command I can use to also install 2.3.2 parallel to the default (latest) version?

Thanks!


Solution

  • use the -v option to gem:

    sudo gem install rails -v=2.3.2
    

    you'll have to do a separate install for 2.3.4 though