I was trying to setup Fat Free CRM on heroku. Upon pushing the code to heroku, I got this weird error in Heroku logs
2014-01-04T06:07:08.768464+00:00 app[web.1]: SystemStackError (stack level too deep):
2014-01-04T06:07:08.768464+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:409
The error is quiet confusing & doesn’t tell you the code file where it is coming from. Upon doing a search for the error also doesn’t point out any useful information.
It turns out that the cause is a missing step in the install process.
You need to run the setup & create admin account by giving this command
heroku run rake ffcrm:setup
and it fixes the issue.
Hope, it helps someone.