Skip to content

Instantly share code, notes, and snippets.

@twwlogin
Last active December 30, 2016 23:40
Show Gist options
  • Save twwlogin/8741ed785da11ad4f6f0db7890866c6d to your computer and use it in GitHub Desktop.
Save twwlogin/8741ed785da11ad4f6f0db7890866c6d to your computer and use it in GitHub Desktop.
Index: lib/rubygems/defaults.rb
===================================================================
--- lib/rubygems/defaults.rb.orig 2016-12-15 17:48:03.958124553 +0000
+++ lib/rubygems/defaults.rb 2016-12-15 22:24:41.205037257 +0000
@@ -91,6 +91,7 @@
def self.default_path
path = []
+ path << '/tmp/rubygems/vendor/lib/2.3.0'
path << user_dir if user_home && File.exist?(user_home)
path << default_dir
path << vendor_dir if vendor_dir and File.directory? vendor_dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment