Pry

I want to use pry instead of irb with Rubymine - Is there an easy way to replace the irb console with a pry console?

0

It is not possible with RM 4.0.3, but in recent 4.5 eap build irb console creates real run configuration and so you could try to replace irb with pry and see if it works :)
Hope it will ;)

Oleg.

0

Any luck with this?  I'm having some issues:


/gems/ruby-1.9.2-p180@chef_repo/gems/coolline-0.2.0/lib/coolline/coolline.rb:174:in `getch'

ain: 0> Errno::ENOTTY: Inappropriate ioctl for device
from /Users/jperry/.rvm/gems/ruby-1.9.2-p180@chef_repo/gems/coolline-0.2.0/lib/coolline/coolline.rb:174:in `getch'

0

I tried briefly and couldn't get it to work - I'm using the newest EAP

0

I was able to get it to work by following the recommendation from the Pry error, in ~/.pryrc I added

Pry.config.input = STDIN
Pry.config.output = STDOUT



seems to work ok, though I'm getting double printouts for each command (a `=> nil` every time).
0

If you are still wishing pry was supported by RubyMine, I think the "official" place to vote for this issue is here: http://youtrack.jetbrains.com/issue/RUBY-9302


Please vote there!

0

请先登录再写评论。