-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"next" performs a "step" in jruby #19
Comments
I have the same - no difference between "next" and "step". |
Same for me with JRuby 1.7.x. |
Had the same issue. Pass the |
@camertron , could you give more details about how you are using the |
Hey @jonathanpa, I'm not using pry-nav in a Rails project, maybe that's the difference? I'm running a plain ruby (jruby) command - it looks something like this in its entirety:
Note that I've used ellipses to indicate more parameters (those aren't actually part of the command). This seems to work for me - both "next" and "step" do what they're supposed to do. For Rails, I think it's just a matter of finding where ruby itself is invoked. Maybe try patching the shebang at the top of your
|
I just tried this using bundler for a non-rails project. I modified the bundler bin to: #!/usr/bin/env jruby --debug
#
# This file was generated by RubyGems.
#
# The application 'bundler' is installed as part of a gem, and
# this file is here to facilitate running it.
# I have the same issue |
Hmm this suddenly stopped working for me... I guess I'm in the same boat as you guys :( |
I'm not sure whether you guys are cool with me linking to this issue – but I did experience the next/step malaise and using/switching to pry-byebug did not squelch it |
Did anyone find a solution to this problem? I'm still seeing the problem even with the --debug flags Edit: I needed to use two --debug flags, like this: Sorry about bumping an old thread, still getting used to jruby |
FYI: |
OMG @JESii that totally worked, thank you so much for sharing! I thought we were never going to get a solution for this, so I just made my peace with it and moved on. Really nice to finally be able to do a proper |
I cannot get JESii's solution to work. My environment: Rails 4.1.8 Is there a debugger out there that will actually work in the environment I have? |
"next" performs a "step" in jruby. Anyone have any pointers on how I might begin to tackle this?
The text was updated successfully, but these errors were encountered: