如何通过 :git => url 解压缩 bundler 中指定的 gem?
我的 Gemfile 有
gem 'my_gem', :git => 'git@github.com:xxxxx/xxxxx.git'
$ bundle
正确报告 gem 可用,并且我的代码有效。$ bundle which my_gem
甚至告诉我我的宝石存放在哪里。然而:
$ gem unpack my_gem
ERROR: Gem 'my_gem' not installed nor fetchable.
$ bundle exec gem unpack my_gem
ERROR: Gem 'my_gem' not installed nor fetchable.
是否可以解压缩这样安装的 gem?