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

Most upvoted comments