GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
29362:/0/ruby/pry[master].$ rvm ree-1.8.7 do rake pry
29363:/0/ruby/pry[master].$ rvm rbx do rake pry
From: /0/ruby/pry/pry.gemspec @ line 1:
=> 1: # -*- encoding: utf-8 -*-
3: Gem::Specification.new do |s|
4: s.name = "pry"
5: s.version = "0.9.8pre2"
This is clearly my fault. I have no idea how though. I'll look into it.
add workaround for issue #395
This is a weird one. JRuby and Rubinius apparently have a bug where eval str, TOPLEVEL_BINDING, filename sets __FILE__ in TOPLEVEL_BINDING to filename for a while. By the time the prompt shows up, __FILE__ has the correct value, but at the point whereami checks its context, it's still set to the last gemspec that Bundler evaled internally.
eval str, TOPLEVEL_BINDING, filename
better choice of __FILE__ (see issue #395)