Skip to content

Instantly share code, notes, and snippets.

@bootandy
Created February 28, 2012 14:13
Show Gist options
  • Save bootandy/1932776 to your computer and use it in GitHub Desktop.
Save bootandy/1932776 to your computer and use it in GitHub Desktop.
Ruby Basics
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