Lock version of sprockets to 2.11 as 2.12 causes an error.

This commit is contained in:
Señor Rolando 2014-04-05 21:20:52 +02:00
parent facadc324c
commit 39da01a7f2
2 changed files with 6 additions and 1 deletions

View file

@ -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'

View file

@ -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