Skip to content

Commit

Permalink
further debugging Travis issue
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed May 31, 2016
1 parent 860bc1d commit 0b30aa0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions spec/acceptance/formatter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@
}

GemIsolator.isolate(gems: [%w(rspec ~>3.4)]) do |env, isolation|
env = env.merge(guard_env)
system("pwd")
system("ls -l bundle")
system("gem env")
system("gem contents rspec")
system(env, "ls -l bundle/ruby/2.3.0/gems")
system(env, "gem env")
system(env, "gem contents rspec-core")
system(env, "which rspec")
system(env, "ls -l #{env['PATH'].split(':').first}")
STDERR.puts cmd.inspect
STDERR.puts env.inspect
result = isolation.system(env.merge(guard_env), cmd)
result = isolation.system(env, cmd)
expect(result).to eq(true)
end
end
Expand Down

0 comments on commit 0b30aa0

Please sign in to comment.