Rails gemfile 里引用 gem 的 github 地址

countcain · July 05, 2013 · Last by countcain replied at July 05, 2013 · 2936 hits

如果我在 Gemfile 中声明 Gem 时,使用的是 github 的地址,比如

gem 'rails', github: 'rails/rails' gem "mongoid", git: 'https://github.com/mongoid/mongoid.git'

那么我在 bundle install 后,会 receiving 该 gem 的 git 仓库,请问它存在了本地的哪里? 我的系统是 osx 10.8

「%RUBY_INSTALL_PATH%/lib/ruby/gems/1.9.1/cache/bundler/git」

bundle show rails

#1 楼 @ywjno 谢了 ~/.rvm/gems/ruby-xxx/cache/bundler/git/下

You need to Sign in before reply, if you don't have an account, please Sign up first.