mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
better choice of __FILE__ (see issue #395)
This commit is contained in:
parent
22ae454d4e
commit
cfe5515736
1 changed files with 1 additions and 1 deletions
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 a new issue