$ mkdir {your_app}
$ bundle init
$ vim Gemfile
# enable rails gem and edit version
gem "rails", '5.2.0'
$ bundle install --path=vendor/bundle --jobs=4
$ bundle exec rails new --skip-bundle -d [mysql|postgresql] --skip-turbolinks .
$ bundle exec rails new ---api -skip-bundle -d [mysql|postgresql] --skip-turbolinks .
# overwrite exists Gemfile Yes
$ bundle install --path=vendor/bundle --jobs=4
# start rails
$ ./bin/rails s
Last active
April 27, 2018 10:39
-
-
Save sugumura/469a3ec45ff301add05f678874d4efac to your computer and use it in GitHub Desktop.
Start Ruby on Rails.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment