Skip to content
This repository was archived by the owner on Apr 28, 2019. It is now read-only.

Change rails new command to specify rails version #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ position: 4

Now that we have Rails installed, we can create a Rails app to host our LocomotiveCMS Engine using the `rails new` command shown below. Please substitute `acme_cms` with a name of your choosing.

<pre><span>$ rails new acme_cms --skip-active-record --skip-test-unit --skip-javascript --skip-bundle</span></pre>
<pre><span>$ rails _3.2.19_ new acme_cms --skip-active-record --skip-test-unit --skip-javascript --skip-bundle</span></pre>

We used several skip options to remove unneeded modules. These options respectively tell rails not to install ActiveRecord, unit test files, and the default JavaScript files. `--skip-bundle` let's Rails know not to immediately run `bundle install` as we will be editing our Gemfile.

Expand Down