diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 13:18:43 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 13:18:43 +0200 |
commit | ced6534bbe7107d6707cf10a074cde6099226014 (patch) | |
tree | 4e3e3af58a6f7da43bec2732ce888ddc996a93be /lib | |
parent | 135f7ddebe1ad813999703c4e90110abd5c3b59c (diff) | |
download | gitlab-ci-ced6534bbe7107d6707cf10a074cde6099226014.tar.gz |
Fix gem setup via ci
Diffstat (limited to 'lib')
-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 |