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 :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
on 2011-02-03 08:56
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.