Gemfile.lock keeps changing when running 'rake spec'
I have a rails 3 project with Bundler and Capistrano. Everything is working properly, b开发者_如何学Cut when i run rake spec
the Gemfile.lock changes. The change is that two lines are swapped. Here's the diff:
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -44,8 +44,8 @@ GEM
capistrano (2.5.20)
highline
highline
- net-scp
net-scp (>= 1.0.0)
+ net-scp
net-sftp
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
When i run rake spec
a second time the lines are swapped again and the change is undone. I am very much puzzled by this behavior. Does anyone have an idea what might be causing this?
It's because of the capistrano gemspec declaring dependencies twice. See this ticket.
精彩评论