Getting error:
undefined method `environment\' for nil:NilClass
Extracted source (around line #5):
Dossiyadata
<%
When upgrading to Rails 4.0.5 you need to temporarily lock your sprockets at 2.11.x:
gem 'sprockets', '<= 2.11.0'
Then
bundle install
The exact error I was getting was:
ActionView::Template::Error: undefined method `environment' for nil:NilClass
For more context:
https://github.com/rails/sass-rails/issues/191
https://github.com/sstephenson/sprockets/issues/537