Skip to content

Instantly share code, notes, and snippets.

@abshkd
Last active September 5, 2016 12:31
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 abshkd/1641db9e1e4a26186bd57a9e8b2acce8 to your computer and use it in GitHub Desktop.
Save abshkd/1641db9e1e4a26186bd57a9e8b2acce8 to your computer and use it in GitHub Desktop.
New Rails 4.x project quickstart
# Assuming you are using rbenv
#ensure right ruby version 2.3.0 in my case
rbenv version
mkdir projects
cd projects
#create a Gemfile by hand and then bundle install. use the basic template to start
wget https://gist.githubusercontent.com/abshkd/92c76ec570d6821dce1ac28c2de8073e/raw/3ea01c79d607d2dd1f370971cd5f57b23cb6d436/Gemfile
bundle install
rails new my_project --skip-test-unit
#edit the Gemfile to your needs
bundle install --without-production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment