2

私の RoR アプリは、activeadmin gem を追加するまで heroku で正常に動作していましたが、heroku にプッシュすると、次のようなページが表示されます。

Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

heroku logs コマンドは私にしか与えません...

2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x515546]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x519499]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_ary_each+0x45) [0x533735]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: [NOTE]
2012-04-14T21:25:32+00:00 app[web.1]: 
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby() [0x51307f]
2012-04-14T21:25:32+00:00 app[web.1]: /usr/local/bin/ruby(rb_yield+0x66) [0x521d56]
2012-04-14T21:25:32+00:00 app[web.1]: 
2012-04-14T21:25:32+00:00 app[web.1]: You may have encountered a bug in the Ruby interpreter or extension libraries.
2012-04-14T21:25:32+00:00 app[web.1]: Bug reports are welcome.
2012-04-14T21:25:32+00:00 app[web.1]: For details: http://www.ruby-lang.org/bugreport.html
2012-04-14T21:25:33+00:00 heroku[web.1]: Process exited with status 139
2012-04-14T21:25:33+00:00 heroku[web.1]: State changed from up to crashed

ここからどこへ行けばいいのかわからない。私のローカルアプリ(完全に動作)をherokuで動作させる方法を知っている人はいますか?

ありがとう、ブラッド

4

1 に答える 1

0

ここではやみくもに推測していますが、Active Admin をインストールするときは、Heroku にプッシュした後に移行を実行する必要があります。

これを試してください:

heroku rake db:migrate
于 2012-04-14T21:44:18.510 に答える