Skip to content

Instantly share code, notes, and snippets.

@simonrentzke
Last active August 31, 2015 00:16
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 simonrentzke/ccb36434553f26d001d2 to your computer and use it in GitHub Desktop.
Save simonrentzke/ccb36434553f26d001d2 to your computer and use it in GitHub Desktop.
Setup an Edge Rails 5 application from Scratch
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