Question

Tearing my hair out with this.

Trying to upgrade an old app to rails 3.2

Have got most of the way there but I keep hitting an error when the app tries to import blueprint.

    Started GET "/assets/application.css" for 127.0.0.1 at 2013-05-15 15:46:53 +0100
    Error compiling asset application.css:
    Sass::SyntaxError: File to import not found or unreadable: blueprint.

and the same for every other compass or blueprint imported item.

I've followed the instructions at http://compass-blueprint.org/install/ I've tried adding *= require blueprint into my application.css I've tried putting files in various places, but nothign seems to be work.

There seem to be lots of advice for setting up a new install but not for migrating one, so I'm not sure what files are supposed to be where or where to find them in the first place.

Any ideas?

Was it helpful?

Solution

Check out the Rails Guides explaination on the Asset Pipeline here; http://guides.rubyonrails.org/asset_pipeline.html

Upgrading can be a pain, so be sure to read up on Asset Organization and pay close attention to the old files in the public/ directory.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top