We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6cde4d commit 5d8eb0eCopy full SHA for 5d8eb0e
lib/spring/test/application.rb
@@ -205,7 +205,10 @@ def run!(command, options = {})
205
end
206
207
def bundle
208
- run! "(gem list bundler | grep bundler) || gem install bundler", timeout: nil, retry: 2
+ # Version restriction is a workaround for https://github.com/bundler/bundler/pull/4981
209
+ # The problem breaks our tests on Ruby 2.2
210
+ # We can remove once it's fixed
211
+ run! "(gem list bundler | grep bundler) || gem install bundler --version '~> 1.12.0'", timeout: nil, retry: 2
212
run! "bundle check || bundle update --retry=2", timeout: nil
213
214
0 commit comments