Created
February 11, 2010 22:33
-
-
Save ender672/302049 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
From 9f498d662e0b1cd1ddfdb985928fb6b2a4d50dcf Mon Sep 17 00:00:00 2001 | |
From: ender672 <[email protected]> | |
Date: Thu, 11 Feb 2010 14:29:12 -0800 | |
Subject: [PATCH] Remove a hack for bin wrappers that caused an error with unicorn | |
--- | |
lib/bundler/runtime.rb | 8 -------- | |
1 files changed, 0 insertions(+), 8 deletions(-) | |
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb | |
index 32356ed..69abd34 100644 | |
--- a/lib/bundler/runtime.rb | |
+++ b/lib/bundler/runtime.rb | |
@@ -243,14 +243,6 @@ module Bundler | |
# === Following hacks are to improve on the generated bin wrappers === | |
- # Yeah, talk about a hack | |
- source_index_class = (class << Gem::SourceIndex ; self ; end) | |
- source_index_class.send(:define_method, :from_gems_in) do |*args| | |
- source_index = Gem::SourceIndex.new | |
- source_index.add_specs *specs | |
- source_index | |
- end | |
- | |
# OMG more hacks | |
gem_class = (class << Gem ; self ; end) | |
gem_class.send(:define_method, :bin_path) do |name, *args| | |
-- | |
1.6.3.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment