Why are we installing Ruby 1.9.2/1.9.3 gems into a 1.9.1 folder?

后端 未结 2 1858
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 07:42

This comes about because the Gem installation directory used by the gem command, seen when using gem env, is set to something like:



        
2条回答
  •  迷失自我
    2020-11-27 08:26

    I think it's because these versions should be compatible, and if you had separate directories, you'd have to reinstall all your gems with it. This way you can upgrade the version of ruby without having to reinstall all the gems.

提交回复
热议问题