gee*_*mc4 2 ruby ruby-on-rails bundler ruby-on-rails-4
每次我运行一些 rake 或捆绑器时,我都会遇到这个问题,但是新旧版本没有什么不同,而且总是相同的宝石,我什至之前已经提交了这些更改,但它仍然出现
$ git diff
diff --git a/Gemfile.lock b/Gemfile.lock
index d2dc051..90b25d4 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -17,6 +17,13 @@ GIT
nested_form (0.3.2)
GIT
+ remote: git://github.com/stefanpenner/country_select.git
+ revision: 79755038ca61dafdfebf4c55346d4a2085f98479
+ specs:
+ country_select (2.1.0)
+ countries (~> 0.9, >= 0.9.3)
+
+GIT
remote: git://github.com/rubenrails/rails-bootstrap-forms.git
revision: 88b7ded3cdcca5af3070d6680f5e2b73303b277e
branch: no_form_group
@@ -34,13 +41,6 @@ GIT
rails (>= 3.1)
railties (>= 3.1)
-GIT
- remote: git://github.com/stefanpenner/country_select.git
- revision: 79755038ca61dafdfebf4c55346d4a2085f98479
- specs:
- country_select (2.1.0)
- countries (~> 0.9, >= 0.9.3)
-
GEM
remote: https://rubygems.org/
specs:
Run Code Online (Sandbox Code Playgroud)
我怀疑这与 Bundler 版本有关。如果您检查变更日志,您可以阅读:
“恢复锁定文件中的 gem 源排序”
因此,如果不同的人使用不同的 Bundler 版本提交此存储库,您可能应该使用相同的版本(例如 1.7.2)。
您可以通过以下方式检查您的 Bundler 版本:
bundler -v
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1813 次 |
| 最近记录: |