diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-10 15:26:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-10 15:26:49 +0000 |
commit | 83ea4017476333c0e0a44c9940cf4ff56f766279 (patch) | |
tree | b799ee66a84fba65588597d28821563f763bb32c /tool/rbinstall.rb | |
parent | 85f62055c452b93c8e7ccab8bdea2ce7919f4e43 (diff) | |
download | ruby-83ea4017476333c0e0a44c9940cf4ff56f766279.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/rbinstall.rb')
-rwxr-xr-x | tool/rbinstall.rb | 2 |
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 |