Skip to content

Instantly share code, notes, and snippets.

@murilomothsin
Created November 24, 2017 13:27
Show Gist options
  • Save murilomothsin/57a009915cfe89f3b368dab0bcb336ae to your computer and use it in GitHub Desktop.
Save murilomothsin/57a009915cfe89f3b368dab0bcb336ae to your computer and use it in GitHub Desktop.
Create a rails project specifying the version
mkdir myapp
cd myapp
echo "source 'https://rubygems.org'" > Gemfile
echo "gem 'rails', '4.2.9'" >> Gemfile
bundle install
bundle exec rails new . --force --skip-bundle
bundle update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment