Getting error when using Devise and Twitter-Bootstrap

Hello Group,

I have written an app that uses devise and twitter bootstrap. When I
host it on heroku I get the following error

ActionView::Template::Error (undefined method `message' for [object
Object]:V8::Object
2012-04-06T16:13:37+00:00 app[web.1]: (in
/app/app/assets/stylesheets/bootstrap_and_overrides.css.less)):

I totally stumped as per devise advice I have put this line

config.assets.initialize_on_precompile = false

in application.rb file.

Well, many thanks if some one could give me a tip.

gem 'therubyracer'

Probably fix V8 errror. :wink:

Well ruby tracer is there but it looks useless for this stuff

Try using execjs instead of therubyracer

I precompiled assets as told in heroku and it worked.