Archive for category Heroku

Twitter Bootstrap problem in Heroku

I encountered a problem while using twitter boot strap in Rails, that too hosting with Heroku. Especially while using twitter bootstrap rails gem , all would work fine on my local machine, but when I upload the app  to heroku, it would throw an error as the boot strap’s less file messes up with some thing and does not compile properly.  Well how to avoid this?

The simplest answer is to download the files from twitter site using this link and put them in your public folder for your rails application to use it.

The second option is to precompile your assets and upload it to heroku. To know how to precompile assets visit this link

Hopefully you will be able to resolve the issues you face in deployment.



%d bloggers like this: