Deploy to Heroku Application Error

Hi I’m trying to deploy a rails app to heroku. Everything works fine on
my local host, but when I try to deploy to heroku, I get an application
error. I’ve tried looking through my logs, and I can’t find what the
error might be. Can anyone help?

heroku logs…

2011-06-24T00:57:03+00:00 app[web.1]: OpenIdAuthentication.store is nil.
Using in-memory store.
2011-06-24T00:57:03+00:00 app[web.1]:
/app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.4/lib/active_record/base.rb:1008:in
method_missing': undefined method has_attachment’ for
#Class:0x0000000484d6c8 (NoMethodError)
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/app/models/ckeditor/attachment_file.rb:3:in
<class:AttachmentFile>' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/app/models/ckeditor/attachment_file.rb:1:in <top (required)>’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:239:in
require' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:239:in block in require’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:227:in
load_dependency' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:239:in require’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:346:in
require_or_load' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:300:in depend_on’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:216:in
require_dependency' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/engine.rb:138:in block (2 levels) in eager_load!’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/engine.rb:137:in
each' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/engine.rb:137:in block in eager_load!’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/engine.rb:135:in
each' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/engine.rb:135:in eager_load!’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/application.rb:108:in
eager_load!' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/application/finisher.rb:41:in block in module:Finisher
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/initializable.rb:25:in
instance_exec' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/initializable.rb:25:in run’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/initializable.rb:50:in
block in run_initializers' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/initializable.rb:49:in each’

2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/application.rb:134:in
initialize!' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/application.rb:77:in method_missing’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/config/environment.rb:5:in <top (required)>' 2011-06-24T00:57:03+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in require’
2011-06-24T00:57:03+00:00 app[web.1]: from
internal:lib/rubygems/custom_require:29:in require' 2011-06-24T00:57:03+00:00 app[web.1]: from config.ru:3:in block (3
levels) in ’
2011-06-24T00:57:03+00:00 app[web.1]: from
/home/heroku_rack/heroku.ru:23:in eval' 2011-06-24T00:57:03+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23:in block (3 levels) in ’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/builder.rb:46:in
instance_eval' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/builder.rb:46:in initialize’
2011-06-24T00:57:03+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/builder.rb:63:in
new' 2011-06-24T00:57:03+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/builder.rb:63:in map’
2011-06-24T00:57:03+00:00 app[web.1]: from
/home/heroku_rack/heroku.ru:18:in block (2 levels) in <main>' 2011-06-24T00:57:03+00:00 heroku[web.1]: Process exited 2011-06-24T00:57:07+00:00 heroku[web.1]: State changed from starting to crashed 2011-06-24T00:57:08+00:00 heroku[router]: Error H10 (App crashed) -> GET alifeofplenty.heroku.com/ dyno= queue= wait= service= status=503 bytes= 2011-06-24T00:57:08+00:00 heroku[router]: Error H10 (App crashed) -> GET alifeofplenty.heroku.com/favicon.ico dyno= queue= wait= service= status=503 bytes= 2011-06-24T00:57:09+00:00 heroku[nginx]: GET /favicon.ico HTTP/1.1 | 72.43.101.75 | 791 | http | 503 2011-06-24T01:00:54+00:00 heroku[web.1]: State changed from crashed to created 2011-06-24T01:00:54+00:00 heroku[web.1]: State changed from created to starting 2011-06-24T01:00:59+00:00 heroku[web.1]: Starting process with command: thin -p 23581 -e production -R /home/heroku_rack/heroku.ru start2011-06-24T01:01:03+00:00 app[web.1]: OpenIdAuthentication.store is nil. Using in-memory store. 2011-06-24T01:01:04+00:00 app[web.1]: from /app/app/models/ckeditor/attachment_file.rb:3:inclass:AttachmentFile
2011-06-24T01:01:04+00:00 app[web.1]:
/app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.4/lib/active_record/base.rb:1008:in
method_missing': undefined method has_attachment’ for
#Class:0x00000003e08c08 (NoMethodError)
2011-06-24T01:01:04+00:00 app[web.1]: from /app

2011-06-24T01:01:04+00:00 app[web.1]: from
/app/app/models/ckeditor/attachment_file.rb:1:in <top (required)>' 2011-06-24T01:01:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:239:in block in require’
2011-06-24T01:01:04+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:227:in
load_dependency' 2011-06-24T01:01:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/engine.rb:137:in block in eager_load!’
2011-06-24T01:01:04+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/engine.rb:135:in
each' 2011-06-24T01:01:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/engine.rb:135:in eager_load!’
2011-06-24T01:01:04+00:00 app[web.1]: from
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.4/lib/rails/application.rb:108:in
eager_load!' 2011-06-24T01:01:04+00:00 app[web.1]: from /app/config/environment.rb:5:in <top (required)>’
2011-06-24T01:01:04+00:00 heroku[web.1]: Process exited
2011-06-24T01:01:08+00:00 heroku[web.1]: State changed from starting to
crashed
2011-06-24T01:01:12+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/ dyno= queue= wait= service= status=503 bytes=
2011-06-24T01:01:13+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/favicon.ico dyno= queue= wait= service=
status=503 bytes=
2011-06-24T01:01:13+00:00 heroku[nginx]: GET /favicon.ico HTTP/1.1 |
72.43.101.75 | 791 | http | 503
2011-06-24T01:05:07+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/ dyno= queue= wait= service= status=503 bytes=
2011-06-24T01:05:07+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/favicon.ico dyno= queue= wait= service=
status=503 bytes=
2011-06-24T01:05:42+00:00 heroku[rake.4]: State changed from created to
starting
2011-06-24T01:05:46+00:00 app[rake.4]: Awaiting client
2011-06-24T01:05:46+00:00 app[rake.4]: Starting process with command
rake db:mirgate
2011-06-24T01:05:47+00:00 heroku[rake.4]: State changed from starting to
up
2011-06-24T01:05:48+00:00 heroku[rake.4]: Process exited
2011-06-24T01:05:52+00:00 heroku[rake.4]: State changed from up to
crashed
2011-06-24T01:05:52+00:00 heroku[rake.4]: State changed from crashed to
complete
2011-06-24T01:06:45+00:00 heroku[rake.5]: State changed from created to
starting
2011-06-24T01:06:50+00:00 app[rake.5]: Awaiting client
2011-06-24T01:06:50+00:00 app[rake.5]: Starting process with command
rake db:migrate
2011-06-24T01:06:54+00:00 heroku[rake.5]: State changed from starting to
up
2011-06-24T01:06:55+00:00 heroku[rake.5]: Process exited

00:00 heroku[rake.5]: State changed from up to crashed
2011-06-24T01:06:56+00:00 heroku[rake.5]: State changed from crashed to
complete
2011-06-24T01:11:19+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/ dyno= queue= wait= service= status=503 bytes=
2011-06-24T01:11:19+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/favicon.ico dyno= queue= wait= service=
status=503 bytes=
2011-06-24T01:11:19+00:00 heroku[nginx]: GET / HTTP/1.1 | 72.43.101.75 |
791 | http | 503
2011-06-24T01:11:19+00:00 heroku[nginx]: GET /favicon.ico HTTP/1.1 |
72.43.101.75 | 790 | http | 503
2011-06-24T01:12:39+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/ dyno= queue= wait= service= status=503 bytes=
2011-06-24T01:12:40+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/favicon.ico dyno= queue= wait= service=
status=503 bytes=
2011-06-24T01:17:59+00:00 heroku[rake.6]: State changed from created to
starting
2011-06-24T01:18:07+00:00 app[rake.6]: Awaiting client
2011-06-24T01:18:07+00:00 app[rake.6]: Starting process with command
rake db:create
2011-06-24T01:18:09+00:00 heroku[rake.6]: Process exited
2011-06-24T01:18:09+00:00 heroku[rake.6]: State changed from starting to
crashed
2011-06-24T01:18:09+00:00 heroku[rake.6]: State changed from crashed to
complete
2011-06-24T01:18:10+00:00 heroku[rake.6]: State changed from complete to
crashed
2011-06-24T01:18:10+00:00 heroku[rake.6]: State changed from crashed to
complete
2011-06-24T01:18:20+00:00 heroku[rake.7]: State changed from created to
starting
2011-06-24T01:18:28+00:00 app[rake.7]: Awaiting client
2011-06-24T01:18:28+00:00 app[rake.7]: Starting process with command
rake db:migrate
2011-06-24T01:18:33+00:00 heroku[rake.7]: Process exited
2011-06-24T01:18:49+00:00 heroku[rake.7]: State changed from starting to
crashed
2011-06-24T01:18:49+00:00 heroku[rake.7]: State changed from crashed to
complete
2011-06-24T01:18:50+00:00 heroku[rake.7]: State changed from complete to
up
2011-06-24T01:20:46+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/ dyno= queue= wait= service= status=503 bytes=
2011-06-24T01:20:47+00:00 heroku[router]: Error H10 (App crashed) → GET
alifeofplenty.heroku.com/favicon.ico dyno= queue= wait= service=
status=503 bytes=