Simplify install: Move font, homebrew installation into rake installer

This commit is contained in:
Yan Pritzker
2012-09-28 10:38:59 -07:00
parent 6c0f02dd3f
commit c85c25ff3b
3 changed files with 114 additions and 131 deletions

22
README-pry.md Normal file
View File

@@ -0,0 +1,22 @@
### Install the gem
```bash
gem install pry
gem install pry-nav
gem install awesome_print
```
### Use pry
* as irb: `pry`
* as rails console: `script/console --irb=pry`
* as a debugger: `require 'pry'; binding.pry` in your code (or just type `pry!<space>` to make vim do it)
### Pry Customizations:
* `clear` command to clear screen
* `sql` command to execute something (within a rails console)
* `c` (continue) `n` (next) `s` (step) commands for debugging using pry-nav
* all objects displayed in readable format (colorized, sorted hash keys) - via awesome_print
* a few color modifications to make it more useable
* type `help` to see all the commands