sass-rails: Can't use image-path or asset-path with Rails 3.2.0.rc1
I created a new, barebones Rails 3.2.0.rc1 application and tried to use image-path
and asset-path
from within a .scss file. It seems like the environment isn’t being set up correctly - I’m getting an undefined method [] on nil
error related to the options hash.
I’ve created a sample application here: https://github.com/nragaz/image-path-rails-32
I tried to dig into this but frankly the interrelations between sass-rails, sprockets, and rails itself are a beast.
About this issue
- Original URL
- State: closed
- Created 13 years ago
- Comments: 42
Commits related to this issue
- require 'sprockets' before register_engines. Closes #81 — committed to donedotcom/sass-rails by spastorino 13 years ago
- make sass-rails work for rails 3.1 app without asset pipeline enabled - applied the fixes for issues #81 and #84 — committed to fduan/sass-rails by deleted user 12 years ago
- make sass-rails work for rails 3.1 app without asset pipeline enabled - applied the fixes for issues #81 and #84 - fixed typo — committed to fduan/sass-rails by deleted user 12 years ago
- require 'sprockets' before register_engines. Closes #81 — committed to garethrees/sass-rails by spastorino 13 years ago