better choice of __FILE__ (see issue #395)
This commit is contained in:
parent
22ae454d4e
commit
cfe5515736
2
Rakefile
2
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue