bootstrap-ruby / will_paginate-bootstrap

Integrates the Twitter Bootstrap pagination component with will_paginate
MIT License
388 stars 160 forks source link

Error: Uninitialized Constant #30

Closed kibaekr closed 10 years ago

kibaekr commented 10 years ago

Hello, I got everthing to work locally, but when I push it to the production server, I get this error:

ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::BootstrapPagination):

Do you know a possible solution?

acrogenesis commented 10 years ago

have you precompiled your assets? RAILS_ENV=production rake assets:precompile

kibaekr commented 10 years ago

Yes I believe so.

This is what my production.rb looks like: https://gist.github.com/kibaekr/8643740

Do I need to add something to the "config.assets.precompile += %w(" section? It looks like will_paginate-bootstrap gem doesn't explicitly add a .css file to the assets folder, so wasn't sure if I needed to update this section.