diff --git a/Gemfile b/Gemfile index 836cce5a5..74740128b 100644 --- a/Gemfile +++ b/Gemfile @@ -29,7 +29,10 @@ gem 'sanitize', '~> 5.2' gem 'will_paginate' # See https://github.com/sstephenson/execjs#readme for more supported runtimes -gem 'therubyracer', group: :therubyracer +group :therubyracer do + gem 'therubyracer' + gem 'mini_racer' +end # Use --without argument to skip unnecessary drivers gem 'sqlite3', group: :sqlite @@ -56,9 +59,8 @@ group :development, :test do end group :test do - - # get test coverage info on codeclimate - gem 'codeclimate-test-reporter', '1.0.7', group: :test, require: nil + # Get test coverage info on codeclimate + gem 'codeclimate-test-reporter', '1.0.7', require: nil gem 'database_cleaner' gem 'factory_bot_rails' gem 'mocha', :require => false @@ -68,6 +70,3 @@ group :test do gem 'rspec-expectations' gem 'simplecov' end - -gem "mini_racer" - diff --git a/Gemfile.lock b/Gemfile.lock index 23f4aebc5..f1a2df301 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -344,6 +344,7 @@ DEPENDENCIES jquery-rails (~> 4.4) jquery-ui-rails (~> 6.0.1) listen + mini_racer minitest-stub-const mocha mysql2 (~> 0.5.3)