Last active
August 31, 2015 00:16
-
-
Save simonrentzke/ccb36434553f26d001d2 to your computer and use it in GitHub Desktop.
Setup an Edge Rails 5 application from Scratch
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
mkdir rails-5-test-app | |
cd rails-5-test-app | |
touch .ruby-version | |
echo 'ruby-2.2.2' > .ruby-version | |
touch Gemfile | |
printf "source 'https://rubygems.org'\nruby '2.2.2'\n\n\ngem 'rails', github: 'rails/rails'\ngem 'arel', github: 'rails/arel'\ngem 'rack', github: 'rack/rack'" >> Gemfile | |
bundle | |
bundle exec rails new . --dev --force | |
bundle exec rails s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment