From 5377f54cc72993a82ed23f53762e5b60dc532ed5 Mon Sep 17 00:00:00 2001 From: apai4 Date: Thu, 6 Mar 2014 21:25:41 -0800 Subject: [PATCH] Add ExecJS as a gem dependency ExecJS is required for ngmin to work. Usually if you have coffee-rails or uglifier in your Gemfile this dependency is taken care of, otherwise you get `NameError: uninitialized constant Ngmin::Processor::ExecJS`. Also fixes #13. --- ngmin-rails.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/ngmin-rails.gemspec b/ngmin-rails.gemspec index ccd084d..2ce3d75 100644 --- a/ngmin-rails.gemspec +++ b/ngmin-rails.gemspec @@ -19,6 +19,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_dependency "rails", ">= 3.1" + spec.add_dependency "execjs" spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "rake" end