Skip to content

Commit

Permalink
Making sure that the build gets executed in a clean Bundler environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
bguthrie committed Apr 28, 2011
1 parent acde5a6 commit 967d761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/build.rb
Expand Up @@ -188,7 +188,7 @@ def in_clean_environment_on_local_copy(&block)
# smart about it)
ENV['CC_RAKE_TASK'] = self.rake_task
Dir.chdir(project.local_checkout) do
block.call
Bundler.with_clean_env &block
end
ensure
ENV['RAILS_ENV'] = old_rails_env
Expand Down

0 comments on commit 967d761

Please sign in to comment.