Skip to content

Commit c034d2d

Browse files
authored
Merge pull request #562 from mtsmfm/fix-broken-ci
Fix broken CI
2 parents 6f1203a + c728135 commit c034d2d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/spring/test/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Spring
44
module Test
55
class Application
6-
DEFAULT_TIMEOUT = ENV['CI'] ? 30 : 10
6+
DEFAULT_TIMEOUT = ENV['CI'] ? 300 : 10
77

88
attr_reader :root, :spring_env
99

lib/spring/test/application_generator.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ def install_spring
9797
append_to_file(application.gemfile, "gem 'nokogiri', '~> 1.6.8'")
9898
end
9999

100+
if RUBY_VERSION < "1.9"
101+
append_to_file(application.gemfile, "gem 'rake', '12.2.1'")
102+
end
103+
100104
application.bundle
101105

102106
FileUtils.rm_rf application.path("bin")

0 commit comments

Comments
 (0)