【发布时间】:2011-09-22 17:30:28
【问题描述】:
我如何解压 bundler 中通过 :git => url 指定的 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可以解压吗?
【问题讨论】:
标签: ruby git gem bundler unpack