From 21c67b4f6ad6f9c0bcdcec35807fc7b56c37dee1 Mon Sep 17 00:00:00 2001 From: Leandro Cavalcante Date: Fri, 3 Mar 2017 18:25:45 -0300 Subject: [PATCH 1/2] Fix missing needed Gem --- Gemfile | 3 +++ Gemfile.lock | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/Gemfile b/Gemfile index b7f154f..28ff15a 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,9 @@ gem 'bundler', '>= 1.7.0' gem 'sinatra', require: 'sinatra/base' gem 'sinatra-asset-pipeline', require: 'sinatra/asset_pipeline' +gem 'execjs' +gem "therubyracer" + gem 'uglifier' gem 'slim' diff --git a/Gemfile.lock b/Gemfile.lock index 90a95a4..95b6bc9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,6 +9,7 @@ GEM execjs (2.3.0) hike (1.2.3) json (1.8.2) + libv8 (3.16.14.17-x86_64-linux) multi_json (1.10.1) rack (1.6.0) rack-protection (1.5.3) @@ -17,6 +18,7 @@ GEM rails-assets-jquery (>= 1.9.1) rails-assets-jquery (2.1.3) rake (10.4.2) + ref (2.0.0) sass (3.4.12) sinatra (1.4.5) rack (~> 1.4) @@ -44,6 +46,9 @@ GEM sprockets (~> 2.0) tilt (~> 1.1) temple (0.6.10) + therubyracer (0.12.3) + libv8 (~> 3.16.14.15) + ref tilt (1.4.1) uglifier (2.7.0) execjs (>= 0.3.0) @@ -54,9 +59,14 @@ PLATFORMS DEPENDENCIES bundler (>= 1.7.0) + execjs rails-assets-bootstrap! rails-assets-jquery! sinatra sinatra-asset-pipeline slim + therubyracer uglifier + +BUNDLED WITH + 1.14.5 From f12047665b9306517cea9c5a1294951dfd8f5c47 Mon Sep 17 00:00:00 2001 From: Leandro Cavalcante Date: Fri, 3 Mar 2017 18:28:02 -0300 Subject: [PATCH 2/2] Added info in README.md --- Gemfile | 2 +- README.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 28ff15a..15da785 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ gem 'sinatra', require: 'sinatra/base' gem 'sinatra-asset-pipeline', require: 'sinatra/asset_pipeline' gem 'execjs' -gem "therubyracer" +gem 'therubyracer' gem 'uglifier' gem 'slim' diff --git a/README.md b/README.md index 65f5f7f..886f99d 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ gem 'bundler', '>= 1.7.0' gem 'sinatra', require: 'sinatra/base' gem 'sinatra-asset-pipeline', require: 'sinatra/asset_pipeline' +gem 'execjs' +gem 'therubyracer' + gem 'uglifier' gem 'slim'