You must do three things to get the better_errors gem's error pages to link successfully to Sublime Text 2 on Windows:
- set BetterErrors.editor
- build a batch file to reformat the path that better_errors supplies into a Windows file path
- make a registry key to handle the protocol 'subl'
In your rails projects initializes directory, add a single file (call it whatever you want; I called it better_errors.rb) whose contents is: