Ruby on rails 为什么bundler一直在“更改”Gemfile.lock而没有真正的更改?
每次运行rake或bundler时,我都会遇到这种情况,但新旧版本之间没有什么不同,它始终是同一块宝石,我以前甚至做过这些更改,但它仍然会出现Ruby on rails 为什么bundler一直在“更改”Gemfile.lock而没有真正的更改?,ruby-on-rails,ruby,ruby-on-rails-4,bundler,Ruby On Rails,Ruby,Ruby On Rails 4,Bundler,每次运行rake或bundler时,我都会遇到这种情况,但新旧版本之间没有什么不同,它始终是同一块宝石,我以前甚至做过这些更改,但它仍然会出现 $ 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 + r
$ 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:
我怀疑这与Bundler版本有关。如果选中,您可以阅读: 还原锁定文件中的gem源排序 因此,如果具有不同捆绑包版本的不同人员参与此回购,您可能应该使用相同的版本,例如1.7.2 您可以通过以下方式检查捆绑程序版本:
bundler -v