Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby 尝试运行Heroku应用程序时出错_Ruby_Heroku_Heroku Toolbelt - Fatal编程技术网

Ruby 尝试运行Heroku应用程序时出错

Ruby 尝试运行Heroku应用程序时出错,ruby,heroku,heroku-toolbelt,Ruby,Heroku,Heroku Toolbelt,我一直在尝试部署我的第一个Heroku应用程序,但仍然遇到一个又一个问题。我会继续粘贴我遇到的错误代码 在heroku.open上: 打开secure-reef-1182。。。失败 ! Heroku客户端内部错误。 ! 在以下位置搜索帮助: ! 或在以下位置报告错误: 错误:#version=1.5.0>的未定义方法licenses=' 回溯:/usr/local/lib/site\u ruby/1.9.1/rubygems/source\u index.rb:74:ineva

我一直在尝试部署我的第一个Heroku应用程序,但仍然遇到一个又一个问题。我会继续粘贴我遇到的错误代码

在heroku.open上:

打开secure-reef-1182。。。失败 ! Heroku客户端内部错误。 ! 在以下位置搜索帮助: ! 或在以下位置报告错误:

错误:#version=1.5.0>的未定义方法
licenses='
回溯:/usr/local/lib/site\u ruby/1.9.1/rubygems/source\u index.rb:74:in
eval' /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:388:in

版本:heroku toolbelt/2.33.5(x86_64-linux)ruby/1.9.3

关于heroku.ps

===web:
bundle exec rails服务器-p$PORT
web.1:2013/01/02 21:07:51(约400万年前)崩溃

在我的heroku.log中,我得到了这些类型的错误消息

at=错误代码=H10 desc=“应用程序崩溃”方法=获取路径=/host=secure-relef-1182.herokuapp.com>fwd=50.134.210.222 dyno=queue=wait=connect=service=status=503字节=

“崩溃的web进程或web进程上的启动超时将出现此错误。”

  • 确保在开发环境中测试所有内容 首先
  • 如果您的应用程序正在本地运行,请检查是否需要在heroku中设置全局配置

日志中还有其他内容吗?H10表示您的应用程序崩溃-您的应用程序是否引发任何其他异常?它在本地运行吗?