Created
February 28, 2012 14:13
-
-
Save bootandy/1932776 to your computer and use it in GitHub Desktop.
Ruby Basics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How 2 ruby debug: | |
type debugger in file | |
on cmd line: | |
l - print where i am | |
c - continue | |
n - step over | |
e @var - dump @var as tostring() | |
disp - dump current vars | |
irb - Interactive Ruby Shell | |
on a new project: | |
rvm gemset list | |
rvm gemset create X | |
rvm gemset use X | |
bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment