Skip to content

Instantly share code, notes, and snippets.

@headius
Created January 9, 2014 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/8339894 to your computer and use it in GitHub Desktop.
Save headius/8339894 to your computer and use it in GitHub Desktop.
Fix for default gems not being bundle package'able.
diff --git a/lib/ruby/shared/rubygems/installer.rb b/lib/ruby/shared/rubygems/installer.rb
index 33d2f78..07961d3 100644
--- a/lib/ruby/shared/rubygems/installer.rb
+++ b/lib/ruby/shared/rubygems/installer.rb
@@ -226,6 +226,7 @@ class Gem::Installer
if @options[:install_as_default]
extract_bin
write_default_spec
+ write_cache_file
else
extract_files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment