Created
December 11, 2008 19:04
-
-
Save zerowidth/34825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb 2008-12-07 13:54:11.000000000 -0700 | |
+++ /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb 2008-12-07 13:54:11.000000000 -0700 | |
@@ -128,6 +128,10 @@ | |
# Gem::Requirement and Gem::Version documentation. | |
def self.activate(gem, *version_requirements) | |
+ if ENV["GEM_DEBUG"] | |
+ STDERR.puts "activating #{gem} #{version_requirements.inspect}" | |
+ caller[2..-1].each {|c| STDERR.puts " #{c}"} | |
+ end | |
if version_requirements.empty? then | |
version_requirements = Gem::Requirement.default | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment