Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Normally I use:

gem install rails

I can install Rails on Windows, but by default, I guess the latest version, version 3.0.3 is installed.

So if I want to install some other version of Rails, let's say 3.0.1, how can I do it?

question from:https://stackoverflow.com/questions/4201812/install-a-specific-ruby-on-rails-version-on-windows

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
335 views
Welcome To Ask or Share your Answers For Others

1 Answer

Example:

gem install rails -v 3.0.1

Also, all the options for gem can be seen by running gem -h

A note:
If you're on *nix using RVM is highly recommended for Ruby management.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...