Rubygems, Bundler and RVM confusion

后端 未结 4 2007
灰色年华
灰色年华 2020-12-12 10:48

I read \"Relationships between Rubygems, Bundler, and RVM\" before asking it again.

Well, there are many questions like this, but people who answered say they work

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-12 11:18

    1. To find out where gems are being installed to, run echo $GEM_HOME in a terminal.
    2. When using RVM, gems are installed into your RVM install as it changes $GEM_HOME. Running echo $GEM_HOME now would show a path into your RVM install.
    3. When Bundler is added to the mix, gems will either be installed in $GEM_HOME, or, if you specify a path when running bundle install will be installed to that path. To find out where a gem is through Bundler you can use bundle show gemname to get its full path.

提交回复
热议问题