How to have multiple versions of Ruby AND Rails, and their combinations on Windows?

前端 未结 4 1059
再見小時候
再見小時候 2020-12-07 11:34

Since Windows doesn\'t support rvm (Ruby version Manager), how do we have

  • Ruby 1.8.7, Rails 2.3.8
  • Ruby 1.8.7, Rails 3.0.0
  • Ruby 1.9.2, Rai
4条回答
  •  广开言路
    2020-12-07 12:31

    From what I could tell, uru only manages versions of RUBY.

    For versions of RAILS, where you've already 2 or more versions on your local maching, to open a project in one's development environment, using an older version of rails, you enter the following in the command window:

    rails _3.2.11_ s

    where 3.2.11 represents the version of RAILS you want it to use, which you want to be the same version as listed in your project's file:

    Gemfile.lock

提交回复
热议问题