diff options
-rw-r--r-- | lib/runner.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/runner.rb b/lib/runner.rb index 50bbe76..00f1423 100644 --- a/lib/runner.rb +++ b/lib/runner.rb @@ -70,7 +70,12 @@ class Runner @process.io.stdout = @tmp_file @process.io.stderr = @tmp_file @process.cwd = path - @process.environment['BUNDLE_GEMFILE'] = '' + + # ENV + @process.environment['BUNDLE_GEMFILE'] = File.join(path, 'Gemfile') + @process.environment['BUNDLE_BIN_PATH'] = '' + @process.environment['RUBYOPT'] = '' + @process.start build.set_file @tmp_file.path |