Add this line of code to your ~/.pryrc
:
Pry.config.editor = proc { |file, line| "rubymine --line #{line} #{file}" }
And …
You can type edit -c
in a Pry session and open up the current line in RubyMine!
Add this line of code to your ~/.pryrc
:
Pry.config.editor = proc { |file, line| "rubymine --line #{line} #{file}" }
And …
You can type edit -c
in a Pry session and open up the current line in RubyMine!