Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Jruby Crash on anything #26

pehrlich opened this Issue · 1 comment

2 participants


Using JRuby 1.7.1, a new rails app, pry-remote (0.1.6), pry (0.9.10-java). Any time I send a command with remote pry, it crashes:

~/Rails/MyApp pry-remote

From: /Users/peter/Rails/MyApp/app/controllers/users_controller.rb @ line 7 UsersController#create:

     7: def create
 =>  8:   binding.remote_pry
     9:   render text: "<pre>#{auth_hash.to_s}</pre>"
    10: end

[1] pry(#<UsersController>)> x = 1


Pry appears to be OK:

[1] pry(main)> x = 1
=> 1

Is there maybe a way to get a trace off of this crash? Thanks!


I get a very extensive backtrace on the server side when I try this without loading my pryrc (therefore, without using. It seems like the important part is: `s_get_screen_size': java.lang.NullPointerException
        from Readline$INVOKER$s$0$0$s_get_screen_size.gen:-1:in `call`

That has been reported and fixed: jruby/jruby#436. This might solve your problem.

That being said, when I do load my pryrc (so as to not use Readline), I can't get pry-remote or pry to work with JRuby (I didn't have the time to try and understand that issue yet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.