Command Line

Installation & Maintenance

RVM

rvm get head             # Update toolkit installation
rvm list                 # List installed
rvm list known           # List available
rvm install ${VERSION}
rvm use ${VERSION} --default

# Advanced
rvm autolibs read-fail   # Show missing OS dependencies, don't try to install them with sudo.

Remove all installed gems (bash terminal)

for i in `gem list --no-versions`; do gem uninstall -aIx $i; done

 Gems

rake build
gem push pkg/${GEMFILE}

Testing Reference

MiniTest::Test

class SomeTest < Minitest::Test

# Constructs
def setup
def teardown
def test_something

# Methods
assert
assert_empty
assert_equal
assert_match
assert_same
assert_nil
assert_includes
assert_instance_of
assert_raises
assert_silent