Created
November 6, 2015 01:12
-
-
Save frsyuki/7b46589f27ebbff97cf0 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
diff --git a/lib/embulk/command/embulk_bundle.rb b/lib/embulk/command/embulk_bundle.rb | |
index 30907dd..3828750 100644 | |
--- a/lib/embulk/command/embulk_bundle.rb | |
+++ b/lib/embulk/command/embulk_bundle.rb | |
@@ -16,6 +16,7 @@ if bundle_path | |
ENV.delete('GEM_HOME') | |
ENV.delete('GEM_PATH') | |
Gem.clear_paths | |
+ $LOAD_PATH << "uri:classloader:/" | |
require 'bundler' | |
Bundler.load.setup_environment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment