简体   繁体   English

heroku“堆栈级别太深”错误

[英]heroku “stack level too deep” error

I have a problem to launch my app on heroku i get this error 我有问题在heroku上启动我的应用程序我得到此错误

heroku rake db:migrate --trace
(in /app)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
stack level too deep
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:231

What should i look into in order to investigate about the problem? 为了调查这个问题,我应该考虑什么? Any idea? 任何想法? Thanks 谢谢

  1. Make sure the migration works (eg on your computer) 确保迁移有效(例如在您的计算机上)

  2. Run heroku logs and take a look at what the logs say 运行heroku logs并查看日志所说的内容

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM