Permalink
Browse files

Merge branch 'master' of https://github.com/optimis/bigtuna into opti…

…mis-master

Conflicts:
	config/environment.rb
  • Loading branch information...
Michal Bugno
Michal Bugno committed Mar 15, 2011
2 parents d875618 + 5243c96 commit 915eb28935cc7aa5e94ecf9cbd80ce5769f812a6
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/big_tuna/runner.rb
View
@@ -3,7 +3,7 @@ class Runner
def self.execute(dir, command)
end_command = "cd #{dir} && #{command}"
BigTuna.logger.debug("Executing: #{end_command}")
- with_clean_env(dir) do
+ with_clean_env do
output = Output.new(dir, command)
buffer = []
status = Open4.popen4(end_command) do |_, _, stdout, stderr|
@@ -18,7 +18,7 @@ def self.execute(dir, command)
end
end
- def self.with_clean_env(dir)
+ def self.with_clean_env
Bundler.with_clean_env do
yield
end

0 comments on commit 915eb28

Please sign in to comment.