GoBoundless / spar

Single Page Application Rocketship
http://goboundless.github.com/spar/
MIT License
164 stars 14 forks source link

Sprockets inclusion doesn't respect order #9

Closed briannelson closed 12 years ago

briannelson commented 12 years ago

In my application.css.sass file, I have:

 //= require bootstrap/docs/assets/css/bootstrap
 //= require_self
 //= require_tree .

but when I am running my server locally, it adds to the page as:

<link href="/application.css?body=1" rel="stylesheet">
<link href="/bootstrap/docs/assets/css/bootstrap.css?body=1" rel="stylesheet">

Am I doing something wrong? Is there a way to get my styles to appear after the bootstrap stuff?

mhodgson commented 12 years ago

Hi Brian, I'm seeing the same thing. Working on a fix now.

briannelson commented 12 years ago

Great! Thanks for the speedy reply. So far, I'm loving Spar. Any plans to include SCSS as well? (pretty please?)

mhodgson commented 12 years ago

Give it a shot. It should work out of the box if you have a .scss filename.

mhodgson commented 12 years ago

Brian, do mind creating a public repo I can check out that reproduces your problem? I'm unable to reproduce what you're seeing. Thanks!

briannelson commented 12 years ago

Here you go: https://github.com/digitalworkbox/digitalworkbox-site

mhodgson commented 12 years ago

Brian, I'm still not able to reproduce. Are you running spar 1.0.5?

briannelson commented 12 years ago

I just installed it today. Maybe there's something funky going on on my end. Thanks for taking a look!

briannelson commented 12 years ago

So, I went back to it and things seem to be working fine now? It must have been some weird caching thing, though I have my caching turned off in Safari.

Sorry to have you spend some time on this. Consider it closed.