summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/install/gemfile/ruby_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gemfile/ruby_spec.rb b/spec/install/gemfile/ruby_spec.rb
index cff3384298..b9d9683758 100644
--- a/spec/install/gemfile/ruby_spec.rb
+++ b/spec/install/gemfile/ruby_spec.rb
@@ -90,7 +90,7 @@ RSpec.describe "ruby requirement" do
it "allows requirements with trailing whitespace" do
install_gemfile! <<-G
source "file://#{gem_repo1}"
- ruby "#{Gem.ruby_version}\\n \t\\n"
+ ruby "#{RUBY_VERSION}\\n \t\\n"
gem "rack"
G