diff --git a/Gemfile b/Gemfile index ef1cfb61..d1720eb7 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,7 @@ group :assets do gem 'sass-rails' gem 'uglifier' gem 'sprockets-rails' + gem 'therubyracer', platforms: :ruby end group :development, :test do diff --git a/spec/dummy/config/routes.rb b/spec/dummy/config/routes.rb index 87ff0fbf..78b7c60d 100644 --- a/spec/dummy/config/routes.rb +++ b/spec/dummy/config/routes.rb @@ -1,5 +1,5 @@ Rails.application.routes.draw do - match 'mercury/test_page' => "mercury#test_page" + get 'mercury/test_page' => "mercury#test_page" mount Mercury::Engine => "/" end