BartSabayton
BartSabayton

Reputation: 535

Bootstrap-Glyphicons on Ruby on rails net::ERR_CONTENT_LENGTH_MISMATCH

I got the same problem like this thread:

Rails 4.1 and Bootstrap 3 glyphicons are not working

Ruby on Rails Bootstrap Glyphicons not working

I solved it by following their answer but there's an issue when it loads.

I got this error on Console.

GET http:// localhost:3000/assets/glyphicons-halflings-regular.ttf net::ERR_CONTENT_LENGTH_MISMATCH

It loads so slow.

Please help.

Upvotes: 0

Views: 248

Answers (1)

userden
userden

Reputation: 1693

Have you added the following in config/application.rb (within class Application < Rails::Application) ?

config.assets.paths << "#{Rails}/vendor/assets/fonts"

Check this blog post.

Upvotes: 0

Related Questions