Skip to content

Instantly share code, notes, and snippets.

@tobyhede
Created August 25, 2011 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobyhede/1170496 to your computer and use it in GitHub Desktop.
Save tobyhede/1170496 to your computer and use it in GitHub Desktop.
Rails Cheat Sheet
# Update RVM (the ruby version manager)
rvm get latest

# From the project directory
# RVM may ask you if the settings are ok, they are
gem install bundler
bundle install

bundle exec rake db:create db:migrate db:seed

# If the above fails, check your db credentials in config/database.yml


rails s 

# View in the browser http://localhost:3000/
# Login Details:
# email: admin@ergosphere.com
# password: password


# Go to the project directory in a new terminal window
autotest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment