diff --git a/Gemfile b/Gemfile index 541d35c3aa..2b33c60993 100644 --- a/Gemfile +++ b/Gemfile @@ -87,8 +87,10 @@ group :assets do gem 'compass-rails' gem 'coffee-rails', '~> 3.2.1' - # See https://github.com/sstephenson/execjs#readme for more supported runtimes - gem 'therubyracer' + gem 'mini_racer' + # We found that the following version of libv8 breaks the compilation of mini_racer. + # Nothing else depends on libv8. + gem 'libv8', '!= 6.7.288.46.1' gem 'uglifier', '>= 1.0.3' diff --git a/Gemfile.lock b/Gemfile.lock index 70f0963514..9ec89f5f31 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -465,7 +465,7 @@ GEM addressable (~> 2.3) letter_opener (1.6.0) launchy (~> 2.2) - libv8 (3.16.14.19) + libv8 (6.3.292.48.1) listen (3.0.8) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) @@ -477,6 +477,8 @@ GEM mime-types (1.25.1) mini_mime (1.0.1) mini_portile2 (2.1.0) + mini_racer (0.1.15) + libv8 (~> 6.3) momentjs-rails (2.5.1) railties (>= 3.1) money (5.1.0) @@ -574,7 +576,6 @@ GEM rdoc (3.12.2) json (~> 1.4) redcarpet (3.2.3) - ref (2.0.0) representative (1.0.5) activesupport (>= 2.2.2) builder (>= 2.1.2) @@ -655,9 +656,6 @@ GEM stringex (1.3.3) stripe (3.3.2) faraday (~> 0.9) - therubyracer (0.12.3) - libv8 (~> 3.16.14.15) - ref thor (0.20.0) tilt (1.4.1) timecop (0.9.1) @@ -756,7 +754,9 @@ DEPENDENCIES jwt (~> 1.5) knapsack letter_opener (>= 1.4.1) + libv8 (!= 6.7.288.46.1) listen (= 3.0.8) + mini_racer momentjs-rails nokogiri (>= 1.6.7.1) oauth2 (~> 1.2.0) @@ -792,7 +792,6 @@ DEPENDENCIES spree_i18n! spree_paypal_express! stripe (~> 3.3.2) - therubyracer timecop truncate_html turbo-sprockets-rails3