开发者

Gemfile.lock keeps changing when running 'rake spec'

开发者 https://www.devze.com 2023-02-20 08:53 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消