Place therubyracer in a gem group

This commit is contained in:
Dan Rice 2015-02-24 21:29:10 -05:00
parent 3d6239638f
commit f4925dd806
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ gem 'coffee-rails', '~>4.0'
gem 'actionpack-xml_parser', '>=1.0.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer'
gem 'therubyracer', group: :therubyracer
gem 'uglifier', '>=1.3.0'

View file

@ -50,8 +50,7 @@ You need to create a database and database-user to use with Tracks. For this, yo
Tracks is built upon a number of Ruby libraries (known as gems). The Bundler tool makes it easy to install all the gems that Tracks needs, and ensures that they are all the correct versions.
1. If you are installing Tracks on Windows or Mac OS X, or if you have another JavaScript runtime such as Node.js installed, edit the file `Gemfile` in the Tracks root directory, and comment out `therubyracer`.
2. In the directory that you unzipped your Tracks download to, install all the appropriate gems by running:
1. In the directory that you unzipped your Tracks download to, install all the appropriate gems by running:
* If you are using SQLite:
```
@ -64,7 +63,8 @@ Tracks is built upon a number of Ruby libraries (known as gems). The Bundl
bundle install --without development test sqlite
```
3. Wait for Bundler to finish installing the necessary gems that Tracks needs. This can take some time depending on the speed of your internet connection and the speed of the system youre installing Tracks on.
* If you are installing Tracks on Windows or Mac OS X, or if you have another JavaScript runtime such as Node.js installed, you may also append `therubyracer` as an additional "without" parameter.
2. Wait for Bundler to finish installing the necessary gems that Tracks needs. This can take some time depending on the speed of your internet connection and the speed of the system youre installing Tracks on.
## Configure variables