From 39da01a7f24be113119f5a893a82e6e9b5eb49fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=B1or=20Rolando?= Date: Sat, 5 Apr 2014 21:20:52 +0200 Subject: [PATCH] Lock version of sprockets to 2.11 as 2.12 causes an error. --- Gemfile | 4 ++++ Gemfile.lock | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 67ea3df..05e5d73 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,10 @@ gem 'pg' gem 'bootstrap-sass', '~> 3.1.1.0' +# Lock version of sprocket to 2.11 as 2.12 causes an error. +# (see http://stackoverflow.com/questions/22391116/nomethoderror-in-pageshome-undefined-method-environment-for-nilnilclass) +gem 'sprockets', '2.11.0' + # Bourbon: fancy css mixins – https://github.com/thoughtbot/bourbon gem 'bourbon' diff --git a/Gemfile.lock b/Gemfile.lock index 48c58d7..19c1279 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -99,7 +99,7 @@ GEM railties (>= 4.0.0, < 5.0) sass (>= 3.1.10) sprockets-rails (~> 2.0.0) - sprockets (2.12.0) + sprockets (2.11.0) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) @@ -141,5 +141,6 @@ DEPENDENCIES pg rails (= 4.0.4) sass-rails + sprockets (= 2.11.0) therubyracer uglifier