better choice of __FILE__ (see issue #395)

This commit is contained in:
Ryan Fitzgerald 2011-12-29 01:07:33 -08:00
parent 22ae454d4e
commit cfe5515736
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def check_dependencies
ENV["BUNDLE_GEMFILE"] = File.expand_path("../Gemfile", __FILE__)
Bundler.definition.missing_specs
eval('nil', TOPLEVEL_BINDING, '(pry)') # workaround for issue #395
eval('nil', TOPLEVEL_BINDING, '<main>') # workaround for issue #395
rescue LoadError
# if Bundler isn't installed, we'll just assume your setup is ok.
rescue Bundler::GemNotFound