better_errors
https://github.com/charliesome/better_errors
Ruby
Better error page for Rack apps
BetterErrors.application_root
The path to the root of the application. Better Errors uses this property to determine if a file in a backtrace should be considered an application frame. If you are using Better Errors with Rails, you do not need to set this attribute manually.
Edit
git clone [email protected]:charliesome/better_errors.git
cd better_errors
open lib/better_errors.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-BetterErrors-application_root-for-pr
# Commit to gitgit add lib/better_errors.rbgit commit -m "better docs for BetterErrors.application_root"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-BetterErrors-application_root-for-pr
hub pull-request
# Celebrate!