From d3a3b2da9a4d8e36727e36be5216d7efdbd85e92 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Wed, 8 Jun 2016 15:32:56 +1000 Subject: [PATCH] Pin jquery-rails to 2.1.4 (older version) to prevent missing $.browser errors --- Gemfile | 2 +- Gemfile.lock | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 5048bb12ac..e2c656bbdd 100644 --- a/Gemfile +++ b/Gemfile @@ -86,7 +86,7 @@ end gem "foundation-rails" gem 'foundation_rails_helper', github: 'willrjmarshall/foundation_rails_helper', branch: "rails3" -gem 'jquery-rails' +gem 'jquery-rails', '2.1.4' gem 'css_splitter' diff --git a/Gemfile.lock b/Gemfile.lock index 73af3c3eb1..afb7f53f2f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -418,7 +418,7 @@ GEM inflecto (0.0.2) ipaddress (0.8.0) journey (1.0.4) - jquery-rails (2.3.0) + jquery-rails (2.1.4) railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) json (1.8.3) @@ -684,7 +684,7 @@ DEPENDENCIES haml i18n (~> 0.6.11) immigrant - jquery-rails + jquery-rails (= 2.1.4) json_spec knapsack letter_opener @@ -730,5 +730,8 @@ DEPENDENCIES wicked_pdf wkhtmltopdf-binary +RUBY VERSION + ruby 2.1.5p273 + BUNDLED WITH 1.12.5