Monday, November 21, 2011

[Rails] Re: Problem with Asset Pipeline

what's the content of your application.js application.css ?

btw seems you don't need .css.scss extension, can write only .scss

On Nov 21, 4:09 pm, Ben <benzhe...@gmail.com> wrote:
> I had a problem when I tried to upgrade from Rails 3.0 + Jammit to
> Rails 3.1 Asset Pipeline. I created app/assets folder, under it I have
> both javascripts/application.js.coffee and stylesheets/
> application.css.scss. I included both using stylesheet_link_tag and
> javascript_include_tag, but it just could not load the CSS correctly.
> The application keeps trying to load css from /stylesheets/
> application.css which is a 404 error (the js loads fine from assets/
> application.js). I am using the latest rails 3.1.1 and other
> libraries. So what is the problem here?
>
> Thanks!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate