0
背景:尝试将狂欢推向heroku。它可以在localhost中运行:3000,但在heroku中没有运气。错误的参数数量(0表示1)(ArgumentError)当git push heroku主人
推了heroku高手之后,没有错误。但是,当打开heroku它显示应用程序错误。
谁能帮助摆脱了 “错误的参数数目”
当Heroku的打开
Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
在Heroku的日志,还有超时如下
Starting process with command `bundle exec unicorn -p 56138 -c ./config/unicorn.rb`
2016-08-18T05:52:21.426098+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/unicorn- 5.1.0/lib/unicorn/configurator.rb:196:in `timeout': wrong number of arguments (0 for 1) (ArgumentError)