Skip to content

Commit c00c3c3

Browse files
committed
Use Rubygems 3.0.3 on CI to fix bug with Ruby 2.5 stdlib
1 parent e54664d commit c00c3c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ matrix:
4242
- rvm: ruby-head
4343
fast_finish: true
4444
before_install:
45-
- gem update --system 2.6.14
45+
- gem update --system 3.0.3
4646
before_script:
4747
- "[ $TRAVIS_RUBY_VERSION = \"1.9.3\" ] && travis_retry gem install mime-types --version \"~> 2\" || true"
4848
- "[ $TRAVIS_RUBY_VERSION = \"1.9.3\" -o $TRAVIS_RUBY_VERSION = \"2.0.0\" ] && travis_retry gem install nokogiri --version \"~> 1.6.8\" || true"

lib/spring/test/application_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def build_and_install_gems
134134
system("gem build #{name}.gemspec 2>&1")
135135
end
136136

137-
application.run! "gem install #{spec.gem_dir}/#{name}-*.gem --no-ri --no-rdoc", timeout: nil
137+
application.run! "gem install #{spec.gem_dir}/#{name}-*.gem --no-doc", timeout: nil
138138
end
139139
end
140140

0 commit comments

Comments
 (0)