Sunday, 16 June 2013

couldn't find file 'twitter/bootstrap'

Twitter Bootstrap in rails application not working in production while deployed to heroku.

When I check for logs in heroku, I am able to see the below error.

ActionView::Template::Error (couldn't find file 'twitter/bootstrap')

While doing some google I came to see that, I have included  'twitter-bootstrap-rails' gem in development env in my gem file. So it was unable to load in production.

I have made the 'twitter-bootstrap-rails' gem public and bundle install again. Now every thing works fine.

Thank You,
Uma Mahesh.

No comments:

Post a Comment