Where does bundler store gems?

后端 未结 5 2051
梦毁少年i
梦毁少年i 2020-12-23 18:47

I know that when using gem install, the gem will be stored under /home/username/.rvm/gems/, under which gemset the gem was installed.

But if I use Bundl

5条回答
  •  太阳男子
    2020-12-23 19:23

    If you want to find out where a particular gem is stored you can run bundle info . For example:

    user@host$ bundle info rake
    /var/bundle/ruby/2.1.0/gems/rake-10.4.2
    

    For older versions of rake, the command could be bundle show .

提交回复
热议问题