LinkifyErrors is a really ugly hack to turn your in-browser Rails backtraces into clickable links that open in your editor. Each line is turned into a link that, when clicked, opens your editor to that file and line immediately.
The 14 second video demo does a better job explaining than this README.
-
Rails 3.1
-
OS X
-
Add the linkify_errors gem to your Rails 3.1 Gemfile
gem "linkify_errors"
-
Download the helper application and install it.
-
Download More Internet and install it. Open the PrefPane, and create a new protocol called “editfile”. Drag your new “EditFile” application onto the box to choose it as the helper for this new editfile protocol.
-
The application is set up by default to use emacsclient. You can edit “/Applications/EditFile.app/editfile” to change this. It’s a shell script that gets called with “123@/Users/name/path/to/file”. Do whatever you want within. The example below might work for textmate
$(echo $1 | sed 's/^\([0-9]*\)\@\(.*\)$/mate -l\1 \2/')
-
Bask in the glory of hyperlinked backtraces.
No. Don’t use it. A puppy will die.