未初始化的常量IssueTrackers

时间:2015-02-19 15:31:54

标签: heroku heroku-toolbelt errbit

我刚刚升级Errbit 2年后,当我点击应用程序时出现以下错误:

NameError:未初始化的常量IssueTrackers

这是可能的错误位置:

[PROJECT_ROOT]/models[PROJECT_ROOT].rb:123→ issue_tracker_configured?
[PROJECT_ROOT]/helpers[PROJECT_ROOT]s_helper.rb:47→ block in detect_any_apps_with_attributes
[PROJECT_ROOT]/helpers[PROJECT_ROOT]s_helper.rb:44→ each
[PROJECT_ROOT]/helpers[PROJECT_ROOT]s_helper.rb:44→ detect_any_apps_with_attributes
[PROJECT_ROOT]/helpers[PROJECT_ROOT]s_helper.rb:15→ any_github_repos?
[PROJECT_ROOT]/views[PROJECT_ROOT]s/index.html.haml:9→ app_views_apps_index_html_haml__FRAGMENT_

完整追踪:

http://pastebin.com/wfHFVsAp

1 个答案:

答案 0 :(得分:0)

我只需要进行迁移:

heroku run rake db:migrate
heroku restart