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 http://twitter.github.com/bootstrap/download.html#download 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 https://devcenter.heroku.com/articles/rails3x-asset-pipeline-cedar
Hopefully you will be able to resolve the issues you face in deployment.