aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb
index 433b60df16..2136edb1be 100644
--- a/test/rubygems/test_gem_commands_setup_command.rb
+++ b/test/rubygems/test_gem_commands_setup_command.rb
@@ -41,7 +41,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase
end
open(File.join(Gem::Specification.default_specifications_dir, "bundler-1.15.4.gemspec"), 'w') do |io|
- io.puts '# bundler'
+ gemspec.version = "1.15.4"
+ io.puts gemspec.to_ruby
end
FileUtils.mkdir_p File.join(Gem.default_dir, "specifications")