Heroku Error: App crashed

Hi,

I deployed my application on heroku and while visiting it form url
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 :inrequire’
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:inrequire_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:inrequire_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:ineach’
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:ineach’
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:inprocess’
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:inrun’
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 :inrequire’
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:ininitialize’
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:ininstance_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:innew’
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:ininstance_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:innew’
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:ininitialize’
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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs