Skip to content

Commit

Permalink
Merge pull request #208 from glanotte/master
Browse files Browse the repository at this point in the history
fixes compatibility with guard-bundler gem
  • Loading branch information
thibaudgg committed Oct 14, 2013
2 parents 4dbb9e3 + 8f71c5e commit 29583b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/guard/rspec/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def _run(paths, failed_paths, options)
end

def _without_bundler_env
if defined?(Bundler)
Bundler.with_clean_env { yield }
if defined?(::Bundler)
::Bundler.with_clean_env { yield }
else
yield
end
Expand Down

0 comments on commit 29583b8

Please sign in to comment.