Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| require 'singleton' | |
| # outputs a colored call-trace graph to the Rails logger of the lines of ruby code | |
| # invoked during a single request. | |
| # | |
| # Example: | |
| # | |
| # 1) Make sure this file is loaded in an initializer | |
| # | |
| # 2) Add the following to your application.rb in Rails3: |
| $ rvm pkg install readline --verify-downloads 1 | |
| $ rvm install 1.9.3 --with-readline-dir=$rvm_path/usr --force | |
| $ gem install pry | |
| $ $ pry | |
| (reverse-i-search)`': | |
| [2] pry(main)> |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)