aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-10 15:26:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-10 15:26:49 +0000
commit7ff73885d4a9c623d650629214e3ee82102e63aa (patch)
treeb799ee66a84fba65588597d28821563f763bb32c /tool
parent2953d5f78d4664f6aec3d4bbea14ca6ee356684a (diff)
downloadruby-7ff73885d4a9c623d650629214e3ee82102e63aa.tar.gz
Make .gemspec slimmer.
This is the same code that RubyGems are using: https://github.com/rubygems/rubygems/commit/a1a5ab55cb1501cbfeee29131a56cfa2e763174f [ci skip] [Fix GH-1578] Author: Vít Ondruch <vondruch@redhat.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 1851f01f79..b923d81653 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -784,7 +784,7 @@ def install_default_gem(dir, srcdir)
puts "#{" "*30}#{gemspec.name} #{gemspec.version}"
gemspec_path = File.join(default_spec_dir, "#{full_name}.gemspec")
open_for_install(gemspec_path, $data_mode) do
- gemspec.to_ruby
+ gemspec.to_ruby_for_cache
end
unless gemspec.executables.empty? then