# Heroku Error: App crashed

**URL:** <https://www.ruby-forum.com/t/heroku-error-app-crashed/202658>\
**Category:** Deployment\
**Created:** [February 3, 2011, 8:56am UTC](https://www.ruby-forum.com/t/heroku-error-app-crashed/202658 "2011-02-03T08:56:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 3, 2011, 8:56am UTC](https://www.ruby-forum.com/t/heroku-error-app-crashed/202658/1 "2011-02-03T08:56:06Z")

</div>

Hi,

I deployed my application on heroku and while visiting it form url  
[http://blooming-day-347.heroku.com/](http://blooming-day-347.heroku.com/) it gives me app crashed error. By  
log file I see the below error:

==\> dyno-4757045.log (crash) \<==  
/disk1/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/app/models/salesforce  
/account.rb:1: superclass mismatch for class Account (TypeError)  
from  
/usr/ruby1.8.7/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31  
:in `gem_original_require' from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 :in `require’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/act  
ivesupport-2.3.8/lib/active\_support/dependencies.rb:158:in `require' from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/act ivesupport-2.3.8/lib/active_support/dependencies.rb:265:in `require\_or\_load’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/act  
ivesupport-2.3.8/lib/active\_support/dependencies.rb:224:in `depend_on' from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/act ivesupport-2.3.8/lib/active_support/dependencies.rb:136:in `require\_dependency’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rai  
ls-2.3.8/lib/initializer.rb:414:in `load_application_classes' from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rai ls-2.3.8/lib/initializer.rb:413:in `each’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rai  
ls-2.3.8/lib/initializer.rb:413:in `load_application_classes' from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rai ls-2.3.8/lib/initializer.rb:411:in `each’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rai  
ls-2.3.8/lib/initializer.rb:411:in `load_application_classes' from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rai ls-2.3.8/lib/initializer.rb:197:in `process’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rai  
ls-2.3.8/lib/initializer.rb:113:in `send' from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rai ls-2.3.8/lib/initializer.rb:113:in `run’  
from  
/disk1/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/config/e  
nvironment.rb:9  
from  
/usr/ruby1.8.7/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31  
:in `gem_original_require' from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 :in `require’  
from  
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/r  
ails.rb:42:in `load_application' from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/r ails.rb:23:in `initialize’  
from /home/heroku\_rack/heroku.ru:29:in `new' from /home/heroku_rack/heroku.ru:29 from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rac k-1.1.0/lib/rack/builder.rb:46:in `instance\_eval’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rac  
k-1.1.0/lib/rack/builder.rb:46:in `initialize' from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rac k-1.1.0/lib/rack/builder.rb:63:in `new’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rac  
k-1.1.0/lib/rack/builder.rb:63:in `map' from /home/heroku_rack/heroku.ru:18 from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rac k-1.1.0/lib/rack/builder.rb:46:in `instance\_eval’  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rac  
k-1.1.0/lib/rack/builder.rb:46:in `initialize' from /home/heroku_rack/heroku.ru:11:in `new’  
from /home/heroku\_rack/heroku.ru:11  
from  
/home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rac  
k-1.1.0/lib/rack/builder.rb:46:in `instance_eval' from /home/slugs/1e63ec9f-b582-4585-b5ae-5fafc992e826/mnt/.gems/gems/rac k-1.1.0/lib/rack/builder.rb:46:in `initialize’  
from /home/heroku\_rack/heroku.ru:1:in `new’  
from /home/heroku\_rack/heroku.ru:1

-----\> Your application crashed.

I am communicating with salesforce and it’s working fine on locally.

Please help me to figure out the above error.  
Thanks in advance
