From 8d44b48768949d6d4fa1139f28b1adb5d6e3666e Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Wed, 2 Oct 2013 14:24:22 +0100 Subject: [PATCH] Added dependency to therubyracer (V8 implementation for Ruby) if the OS is not OSX. --- Gemfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 3a505922b..1a748023a 100644 --- a/Gemfile +++ b/Gemfile @@ -16,8 +16,11 @@ gem "thin" gem "sinatra", "1.4.2" gem "rack", "1.5.2" gem "em-websocket", "~> 0.3.6" -gem "jsmin", "~> 1.0.1" gem "uglifier", "~> 2.2.1" +# install https://github.com/cowboyd/therubyracer if the OS is != than OSX +if !RUBY_PLATFORM.downcase.include?("darwin") + gem "therubyracer", "~> 0.12.0" +end gem "ansi" gem "term-ansicolor", :require => "term/ansicolor" gem "dm-core"