I've installed bootstrap-sass, and added an @import line in my css. Rails 
won't find or serve up the bootstrap files. One error msg on the Mozilla 
console says:

   The stylesheet http://localhost:3000/assets/bootstrap was not loaded 
because its MIME type, "application/javascript", is not "text/css".

Hmm. If I change the @import to say "bootstrap.css", bootstrap seems to 
load, but things like carousel are undefined:

    TypeError: jQuery(...).carousel is not a function

It seems like something is fundamentally broken with the bootstrap install, 
but I have no idea what.

Where are the bootstrap files supposed to be loaded? On my system they're 
squirreled away inside rvm somewhere. Correct?
Is there a variable inside rails that describes the directories rails 
searches for assets?

Any ideas?

Per

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/TwCiHSfNZgEJ.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to