Problem: I would like my development and production (Heroku) environments to reference my stylesheets from a single location (e.g. tmp/stylesheets).
However, when I reference stylesheets like so
View-source reveals this incorrect path:
href=”/stylesheets/tmp/stylesheets/screen.css” media=”screen” rel=”stylesheet” type=”text/css”
How do you set the default path to ‘tmp/stylesheets’ so I may simply type:
screen %>
I followed everything here: heroku development center – rails and compass and Using Compass on Heroku: /tmp for stylesheets remotely and locally
My Gist is here: https://gist.github.com/1156902
Here you can see a great screencast about that: Railscasts #279 Understanding the Asset Pipeline
And here you can see how to change that path: Asset Pipeline Rails Guide
I believe that can help you