Tuesday, January 22, 2013

[Rails] Bootstrap issues with RoR

I added bootstrap-sass to my Gemfile, did bundle install, added "@import bootstrap" to my css file. Yet, bootstrap does;t work. Safari fails silently, Mozila says:
   The stylesheet http://localhost:3000/assets/bootstrap was not loaded because its MIME type, "application/javascript", is not "text/css". 

Hmm, so I changed the @import to @import bootstrap.css. Some things seems to work, but others (carousel, for example) don't. Here's one error:
    TypeError: ".carousel".carousel is not a function 

Something seems to be fundamentally wrong with the install, but I'm stumped.

Any ideas?

Thanks,

Per

--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/AQOAHKHbXE4J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate