Skip to content
Browse files

Removed remaining extraneous bundle exec's

  • Loading branch information...
1 parent 7a63a63 commit 19a8cf45337f7857af82a519608c528f830c4c6f Jeffrey Peckham and Vinicius Fuentes committed
View
2 bat/spec/helpers/bosh_helper.rb
@@ -43,7 +43,7 @@ def self.delete_bosh_cli_config
end
def bosh_bin
- BH.read_environment('BAT_BOSH_BIN', 'bundle exec bosh')
+ BH.read_environment('BAT_BOSH_BIN', 'bosh')
end
def bosh_director
View
2 bat/spec/spec_helper.rb
@@ -36,7 +36,7 @@
config.before(:suite) do
director = BH::read_environment('BAT_DIRECTOR')
director.should_not be_nil
- cmd = "bundle exec bosh --config #{BH::bosh_cli_config_path} --user admin " +
+ cmd = "bosh --config #{BH::bosh_cli_config_path} --user admin " +
"--password admin target #{director} 2>&1"
output = %x{#{cmd}}
$?.exitstatus.should == 0
View
2 director/lib/cloud/dummy.rb
@@ -48,7 +48,7 @@ def create_vm(agent_id, stemcell, resource_pool, networks, disk_locality = nil,
# so in order to kill all these new processes when cleaning up we need them
# in a single process group.
Process.setpgid(0, 0)
- exec "bundle exec #{agent_cmd} > /tmp/bosh_test_cloud/bosh_agent.#{agent_id}.log 2>&1"
+ exec "#{agent_cmd} > /tmp/bosh_test_cloud/bosh_agent.#{agent_id}.log 2>&1"
end
Process.detach(agent_pid)
View
2 spec/support/bosh_command_helper.rb
@@ -19,7 +19,7 @@ def run(cmd)
def run_bosh(cmd, work_dir = nil)
Dir.chdir(work_dir || BOSH_WORK_DIR) do
- run "bundle exec bosh -v -n --config '#{BOSH_CONFIG}' -C #{BOSH_CACHE_DIR} #{cmd}"
+ run "bosh -v -n --config '#{BOSH_CONFIG}' -C #{BOSH_CACHE_DIR} #{cmd}"
end
end
end
View
2 spec/support/sandbox.rb
@@ -52,7 +52,7 @@ def start
FileUtils.rm_rf(TESTCASE_SQLITE_DB)
Dir.chdir(DIRECTOR_PATH) do
- output = `bundle exec bin/migrate -c #{DIRECTOR_CONF}`
+ output = `bin/migrate -c #{DIRECTOR_CONF}`
unless $?.exitstatus == 0
puts "Failed to run migration:"
puts output

0 comments on commit 19a8cf4

Please sign in to comment.
Something went wrong with that request. Please try again.