Skip to content

Link Developer Tools to RubyMine

Alistair McKinnell edited this page Nov 15, 2015 · 10 revisions

Tweak your developer tools so that links open in RubyMine. In our example we show the configuration for opening links in Better Errors, Rails Footnotes, and iTerm2 in RubyMine.

Rails Footnotes

f.prefix = "x-mine://open?file=%s&line=%d"

Better Errors

BetterErrors.editor = "x-mine://open?file=%{file}&line=%{line}" if defined? BetterErrors

iTerm2

Use iTerm2 to enable Command+Click to open filename in Rubymine

Preferences > Profiles > Advanced

Semantic History

Setting Value
Run command... /usr/local/bin/mine --line \2 "\1"
Open URL... x-mine://open?file=\1&line=\2

Clone this wiki locally