Skip to content

Commit

Permalink
better choice of __FILE__ (see issue #395)
Browse files Browse the repository at this point in the history
  • Loading branch information
rf- committed Dec 29, 2011
1 parent 22ae454 commit cfe5515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cfe5515

Please sign in to comment.