Last active
September 5, 2016 12:31
-
-
Save abshkd/1641db9e1e4a26186bd57a9e8b2acce8 to your computer and use it in GitHub Desktop.
New Rails 4.x project quickstart
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
# 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