public
Last active — forked from avit/README

  • Download Gist
README
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
ToadMate Bookmarklet
 
Adds clickable links to open the file/line from the
stacktrace on Hoptoad (http://hoptoadapp.com) into TextMate.
 
INSTALL:
 
Change the lpd variable to your local project directory.
It relies on your project folders being named after the main part
of your domain name (example.com => /example/).
 
Drag the javascript to your browser bookmarks bar.
 
EXAMPLE:
 
in Hoptoad, if your site url is example.com, and you catch an error:
 
ExampleException raised in, e.g.:
app/controllers/posts_controller.rb:16
 
Click the Bookmarklet, then click the link that appears.
 
Fix your buggy ass file located at, e.g.:
/Users/andrew/Sites/example/app/controllers/posts_controller.rb

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.