-
-
Save erikh/b74973ec7a7418655797 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
--- a/setup.rb | |
+++ b/setup.rb | |
@@ -20,6 +20,14 @@ end | |
Dir.chdir File.dirname(__FILE__) | |
+module Kernel | |
+ if RUBY_VERSION > '1.9' | |
+ undef require | |
+ alias require gem_original_require | |
+ undef gem_original_require | |
+ end | |
+end | |
+ | |
$:.unshift 'lib' | |
require 'rubygems' | |
require 'rubygems/gem_runner' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment