open sublime with custom url scheme

ruby-on-rails, sublimetext2, url-scheme

Solution

Had the same problem. After some searching I found the subl-handler on github.

You need to setup your sublime so you can use the subl-command in your terminal. Look for this guide.

Installing solved the problem.

Problem

The rails gem better provides a nice interface to debug rails web applications. Clicking on file names should open your preferred text editor e.g. TextMate. With Sublime however, nothing happens. How is it possible to register a url scheme handler for subl:// ?

Original source