Use multiple versions of rubygems with rvm?

后端 未结 2 1458
忘掉有多难
忘掉有多难 2021-02-02 13:34

I have two projects on my computer: - An old Rails 2.3 app that needs rubygems 1.6 and won\'t run under rubygems 1.8; - A newer app that needs rubygems 1.8 and won\'t run under

2条回答
  •  难免孤独
    2021-02-02 14:15

    RVM has a new feature for this:

    use "rvm rubygems 1.6.2" to select that version of rubygems.

     rvm rubygems 1.6.2
    

    https://rvm.io/rubies/rubygems/ (see: "RubyGems CLI API" towards the bottom of the page)

    http://groups.google.com/group/rubyversionmanager/browse_thread/thread/e39fc7827d2d22e8

提交回复
热议问题