Ruby equivalent of virtualenv?

后端 未结 8 1309
粉色の甜心
粉色の甜心 2020-12-02 05:21

Is there something similar to the Python utility virtualenv?

Basically it allows you to install Python packages into a sandboxed environment, so easy_install d

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 05:43

    If you only need to install gems as non-root, try setting the GEM_HOME environment variable. Then just run gem.

    For example:

    $ export GEM_HOME=$HOME/local/gems
    $ gem install rhc
    

提交回复
热议问题