Hello,

I'm having a bit of trouble with the asset pipeline  and, I think, 
Capistrano.

In my app layout I have:

<%= stylesheet_link_tag "application", "bootstrap" %>


And the relevant bits of the app dir structure are:

app/assets/stylesheets/application.css.scss # Contains 'require_self' and 
'require_tree .' as usual
vendor/assets/stylesheets/bootstrap.css


I'm using Capistrano's asset pipeline support (load 'deploy/assets') in my 
Capfile. When I'm deploying the app using `cap deploy` it's precompiling the 
assets correctly and copying them into the shared/assets directory for the 
app on the server.

The problem seems to be that the bootstrap.css file is plain old CSS so it 
doesn't get compiled (obviously) but this means that it doesn't end up in 
the shared/assets directory (which is symlinked to public/assets in the app 
directory). Maybe there's something I'm missing as I'm still getting to 
grips with the asset pipeline. Anyway, there's no problem with this locally 
- I've tested with asset compression enabled - but then it's not the same 
setup that we end up with on Capistrano deploys.

Anyone have any ideas?

Thanks

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/uEgKOW8ICFgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to