简体   繁体   中英

How do I install and target a specific version of Nitrous.io?

Just a quick question using nitrous.io. Been following a tutorial on treehouse for ruby on rails, now as they use version 3.2 and I was using 4 it just was impossible to follow.

So, how do I choose which version of Nitrous.io I'm installing / targeting? I need to be using 3.2.

One quick and easy way to handle this would be to install Rails 3.2 alongside with Rails 4.

gem install rails -v 3.2

From there, you can create a new project with Rails 3.2 with the following command:

gem _3.2_ new appname

If you are working on an existing project, ensure your Gemfile is specifying gem 'rails', '3.2.0' , and from there you can run bundle install to ensure all dependencies have been installed.

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