diff options
author | Raphael Sofaer <raphael@joindiaspora.com> | 2011-06-29 23:07:10 +0400 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-06-29 23:07:10 +0400 |
commit | 02489bb7cfa5ef57ed259455c0fff3482bee70b3 (patch) | |
tree | 491e31c37ec31329ecbcb109ce21acdd391d3f65 /features | |
parent | d1a149f9f65bb151c5f98300071ee367d6992a90 (diff) |
This should fix CI for real
Diffstat (limited to 'features')
-rw-r--r-- | features/step_definitions/oauth_steps.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/step_definitions/oauth_steps.rb b/features/step_definitions/oauth_steps.rb index b40c3a0b8..69255e20b 100644 --- a/features/step_definitions/oauth_steps.rb +++ b/features/step_definitions/oauth_steps.rb @@ -78,7 +78,9 @@ class Chubbies def self.ensure_bundled if !(@bundled) - `cd #{Rails.root}/spec/chubbies/ && BUNDLE_GEMFILE=Gemfile bundle 2> /dev/null 1> /dev/null` + Bundler.with_clean_env do + `cd #{Rails.root}/spec/chubbies/ && BUNDLE_GEMFILE=Gemfile bundle install`#2> /dev/null 1> /dev/null` + end @bundled = true end end |