简体   繁体   中英

downgrading to rails 3.2.18 from 4.1.1

I am wondering if someone could give me some advice. I am looking to help someone out with an app thats in Rails 3 and everything i have done has been with Rails 4. How do i go about setting myself up to work on this without disrupting all my rails 4 work?

the versions required for the project are as follows: Ruby version 1.9.3-p448 Rails version 3.2.18

The versions on my mac are Ruby version ruby 2.1.1p76 Rails version 4.1.1

My suggestion is to install RVM and install Ruby 1.9.3 on your machine. Create a gemset specific for the app you want to work with.

When you finish to work on that app, simply drop the gemset and your existing configuration will not be affected.

Alternatively to RVM, you can use rbenv , which is recommended by rails:

We recommend managing your Ruby installation through rbenv. It's an easy way to run multiple versions for different applications and update when a new release is made.

source: http://rubyonrails.org/download/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM