【发布时间】:2013-07-08 07:08:13
【问题描述】:
在我的 Rail 3.2.13 gemfile 中,我添加了 country_select gem
gem 'country_select', :git => 'git://github.com/stefanpenner/country_select.git'
运行 bundle install 但是会加载错误版本的 gem。相反,它会在 https://github.com/rails/country_select 处加载过时的存储库
这发生在我的开发环境以及将我的应用部署到 Heroku 时。
我能够在我的开发环境中通过使用 ruby gem specific_install 来克服这个问题,但这对 heroku 没有帮助。
有什么想法吗?
【问题讨论】:
-
你的 gemfile.lock 中的版本是什么?
-
country_select (1.2.0) - 最新版本
-
是来自这个 git 源 'git://github.com/stefanpenner/country_select.git' 还是另一个?
-
GIT 远程:git://github.com/stefanpenner/country_select.git 修订:be3618c7c6c9b4a37dea736404b78917fd5ff748 规格:country_select (1.2.0)
标签: ruby-on-rails heroku bundler