Skip to content

Instantly share code, notes, and snippets.

@matthewcrist
Created May 8, 2013 01:22
Show Gist options
  • Save matthewcrist/5537518 to your computer and use it in GitHub Desktop.
Save matthewcrist/5537518 to your computer and use it in GitHub Desktop.
I was getting an error locally that I wasn't seeing on Heroku with Rails 4.0.0.rc1. Turns out, it was the gems for heroku that were causing the issue. Moving them to the production group in my Gemfile fixed it.
127.0.0.1 - - [07/May/2013 21:16:05] "GET / HTTP/1.1" 500 9297 0.1820
I, [2013-05-07T21:16:06.773109 #1714] INFO -- : Started GET "/" for 127.0.0.1 at 2013-05-07 21:16:06 -0400
F, [2013-05-07T21:16:06.811554 #1714] FATAL -- :
ArgumentError (wrong number of arguments (0 for 1)):
activesupport (4.0.0.rc1) lib/active_support/core_ext/kernel/reporting.rb:82:in `capture'
activerecord (4.0.0.rc1) lib/active_record/migration.rb:363:in `call'
actionpack (4.0.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.0.0.rc1) lib/active_support/callbacks.rb:392:in `_run__2942527772805940719__call__callbacks'
activesupport (4.0.0.rc1) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.0.0.rc1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
actionpack (4.0.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.0.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.0.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.0.0.rc1) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.0.0.rc1) lib/rails/rack/logger.rb:23:in `call'
actionpack (4.0.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.0.0.rc1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.0.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call'
honeybadger (1.6.2) lib/honeybadger/rack.rb:41:in `call'
railties (4.0.0.rc1) lib/rails/engine.rb:511:in `call'
railties (4.0.0.rc1) lib/rails/application.rb:96:in `call'
rack (1.5.2) lib/rack/lint.rb:49:in `_call'
rack (1.5.2) lib/rack/lint.rb:37:in `call'
rack (1.5.2) lib/rack/showexceptions.rb:24:in `call'
rack (1.5.2) lib/rack/commonlogger.rb:33:in `call'
rack (1.5.2) lib/rack/chunked.rb:43:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
unicorn (4.6.2) lib/unicorn/http_server.rb:552:in `process_client'
unicorn (4.6.2) lib/unicorn/http_server.rb:632:in `worker_loop'
unicorn (4.6.2) lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
unicorn (4.6.2) lib/unicorn/http_server.rb:142:in `start'
unicorn (4.6.2) bin/unicorn:126:in `<top (required)>'
/opt/boxen/rbenv/versions/2.0.0/bin/unicorn:23:in `load'
/opt/boxen/rbenv/versions/2.0.0/bin/unicorn:23:in `<main>'
@iGarbo
Copy link

iGarbo commented May 21, 2013

Worked perfectly. Thanks @matthewcrist

@guy8214
Copy link

guy8214 commented Jun 27, 2013

Wish I found this earlier :) Could have saved me a few hours. Thanks for the share!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment