0.0
No commit activity in last 3 years
No release in over 3 years
Set $EDITOR environment variable to your desired editor, add 'error-locator' gem to your gem file and add ' post '/error-locator' => ErrorLocator' to your routes.rb. Click on a stack trace line in the browser.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

> 3.0.0
 Project Readme

error-locator

Open erroneous code in your favorite editor by clicking exception call stack in browser. Gem for Ruby on Rails.

Usage:

  1. setup $EDITOR variable. For example:
#.bash_login
export EDITOR=geany
  1. Add to your Gemfile:
gem 'error-locator', :group => :development
  1. Add to your routes.rb:
post '/error-locator' => ErrorLocator if Rails.env.development?
  1. bundle install
  2. rails s
  3. Open browser, when found error - click on the line with error.
    Currently supported: Application and Full Traces.
    Currently supported editors: Sublime Text 2, Geany.
    Editor must support opening file with line number like 'dir/filename.rb:75'

Current Issues: you need to open editor before locating an error.