5 ms·
My personal favourite: gem install pry pry -r ./config/environment (or add pry-rails to your Gemfile) http://pry.github.com/ http://pry.github.com/
by phillmv 14y ago
My personal favourite:
gem install pry
pry -r ./config/environment
(or add pry-rails to your Gemfile)
http://pry.github.com/ http://pry.github.com/
- JonnieCache 14y agoPry is indeed amazing. Don't miss the various extensions which are out there: http://banisterfiend.wordpress.com/2012/02/14/the-pry-ecosystem/ http://banisterfiend.wordpress.com/2012/02/14/the-pry-ecosys... You can give it basic debugger stepping abilities, you can do remote sessions, you can have it automatically drop in a REPL before an exception, repair it, and carry on, it's amazing. Really shows off the power of ruby.
- mechazoidal 14y agoDon't forget Ripl, either: https://github.com/cldwalker/ripl https://github.com/cldwalker/ripl