RVM and Rails 3

So to install Rails 3 I didn’t want to have to worry about all the train wreaks that I new would present themselves. As well as, since I am playing with getting our prototype up and running of QuoteBot I don’t want to mess that branch of development up.

With Snow Leopard I am running RVM with Ruby 1.9.1, Rails 2.3.5. I have Passenger installed and running, and all is fine. In addition to the system install of 1.8.7 of Ruby that came with Snow Leopard. However I also now need a RVM copy of Ruby 1.9.1 and Rails 3.0.

RVM 1.9.1%rails3

So all I did was created a new gem directory with the command rvm 1.9.1%rails3. Now we have 2 named Gem Sets If you run => gems you will see none exist, so I needed to install them - curl -L http://bit.ly/bJ3VIg -o rails3.gems (I found this link on some blog, but don’t ask me which). It took it a few minutes to install all the gems, and all was good.

RVM w/ rails 2 and 3

Now I have 2 enviroments one with Rails 2 and 1 with Rails 3.

What’s next? Adding in passenger the ability to run on rails 3 and rails 2 - Maybe….

Published on in rails3