Hi Per, This is a question better suited for the rubyonrails-talk mailing list. This list is reserved for discussions about the core of Rails, whereas rubyonrails-talk is for application support Q&A.
Thank you! On 23/01/2013, at 16:07, [email protected] wrote: > 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 [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-core?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. 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-core?hl=en.
