Where does bundler store gems?

后端 未结 5 2053
梦毁少年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:22

    Note that gems are also installed into the bundle folder within your "Gem Path" (see: bundle env). This happens, for example, with gems installed from git:

    gem 'my-gem', git: "https://github.com/x/y.git"
    

    I assume this is so that custom installations don't conflict with installations from a gem server.

提交回复
热议问题