Ruby &引用;“内部错误”;当推到Heroku时

Ruby &引用;“内部错误”;当推到Heroku时,ruby,git,heroku,sinatra,Ruby,Git,Heroku,Sinatra,每当我试图将回购协议推给Heroku时,我都会遇到一个荒谬的错误: Counting objects: 214, done. Delta compression using up to 8 threads. Compressing objects: 100% (204/204), done. Writing objects: 100% (214/214), 196.99 KiB | 306 KiB/s, done. Total 214 (delta 98), reused 0 (delta 0)

每当我试图将回购协议推给Heroku时,我都会遇到一个荒谬的错误:

Counting objects: 214, done. Delta compression using up to 8 threads. Compressing objects: 100% (204/204), done. Writing objects: 100% (214/214), 196.99 KiB | 306 KiB/s, done. Total 214 (delta 98), reused 0 (delta 0) -----> Removing .DS_Store files -----> Ruby/Rack app detected -----> Using Ruby version: ruby-2.0.0 -----> Installing dependencies using Bundler version 1.3.2 Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment The source :rubygems is deprecated because HTTP requests are insecure. Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. Fetching gem metadata from http://rubygems.org/......... Fetching gem metadata from http://rubygems.org/.. Fetching git://github.com/datamapper/dm-core.git Fetching git://github.com/datamapper/dm-aggregates.git Fetching git://github.com/datamapper/dm-do-adapter Fetching git://github.com/datamapper/dm-migrations.git Fetching git://github.com/datamapper/dm-postgres-adapter.git Fetching git://github.com/datamapper/dm-serializer.git Fetching git://github.com/datamapper/dm-timestamps.git Fetching git://github.com/datamapper/dm-transactions.git Fetching git://github.com/datamapper/dm-types.git Fetching git://github.com/datamapper/dm-validations.git Installing addressable (2.2.8) Installing backports (3.3.3) Installing bcrypt-ruby (3.0.1) Installing daemons (1.1.9) Installing data_objects (0.10.13) Installing descendants_tracker (0.0.1) Installing virtus (0.5.5) Using dm-core (1.3.0.beta) from git://github.com/datamapper/dm-core.git (at master) Using dm-aggregates (1.3.0.beta) from git://github.com/datamapper/dm-aggregates.git (at master) Using dm-do-adapter (1.3.0.beta) from git://github.com/datamapper/dm-do-adapter (at master) Using dm-migrations (1.3.0.beta) from git://github.com/datamapper/dm-migrations.git (at master) Installing do_postgres (0.10.13) Using dm-postgres-adapter (1.3.0.beta) from git://github.com/datamapper/dm-postgres-adapter.git (at master) Installing fastercsv (1.5.5) Installing multi_json (1.3.7) Using dm-serializer (1.3.0.beta) from git://github.com/datamapper/dm-serializer.git (at master) Using dm-timestamps (1.3.0.beta) from git://github.com/datamapper/dm-timestamps.git (at master) Using dm-transactions (1.3.0.beta) from git://github.com/datamapper/dm-transactions.git (at master) Installing stringex (1.5.1) Installing uuidtools (2.1.4) Using dm-types (1.3.0.beta) from git://github.com/datamapper/dm-types.git (at master) Using dm-validations (1.3.0.beta) from git://github.com/datamapper/dm-validations.git (at master) Installing eventmachine (1.0.3) Installing pg (0.16.0) Installing rack (1.5.2) Installing rack-protection (1.5.0) Installing tilt (1.4.1) Installing sinatra (1.4.3) Installing thin (1.5.1) Using bundler (1.3.2) Your bundle is complete! It was installed into ./vendor/bundle Cleaning up the bundler cache. The source :rubygems is deprecated because HTTP requests are insecure. Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. -----> WARNINGS: You have not declared a Ruby version in your Gemfile. To set your Ruby version add this line to your Gemfile: ruby '2.0.0' # See https://devcenter.heroku.com/articles/ruby-versions for more information." -----> Discovering process types Procfile declares types -> web Default types for Ruby/Rack -> console, rake -----> Compiled slug size: 44.4MB -----> Launching... ! Push rejected, Internal error, please try again To git@heroku.com:[...].git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git@heroku.com:[...].git' 计数对象:214,完成。 增量压缩最多使用8个线程。 压缩对象:100%(204/204),完成。 书写对象:100%(214/214),196.99千磅| 306千磅/秒,完成。 总计214(增量98),重复使用0(增量0) ----->删除.DS\u存储文件 ----->检测到Ruby/Rack应用程序 ----->使用Ruby版本:Ruby-2.0.0 ----->使用Bundler 1.3.2版安装依赖项 正在运行:bundle安装--无开发:test--路径vendor/bundle--bin tubs vendor/bundle/bin--部署 来源:rubygems不推荐使用,因为HTTP请求不安全。 请将源代码更改为'https://rubygems.org“如果可能,或者”http://rubygems.org”“如果不是的话。 从中获取gem元数据http://rubygems.org/......... 从中获取gem元数据http://rubygems.org/.. 吸引git://github.com/datamapper/dm-core.git 吸引git://github.com/datamapper/dm-aggregates.git 吸引git://github.com/datamapper/dm-do-adapter 吸引git://github.com/datamapper/dm-migrations.git 吸引git://github.com/datamapper/dm-postgres-adapter.git 吸引git://github.com/datamapper/dm-serializer.git 吸引git://github.com/datamapper/dm-timestamps.git 吸引git://github.com/datamapper/dm-transactions.git 吸引git://github.com/datamapper/dm-types.git 吸引git://github.com/datamapper/dm-validations.git 安装可寻址(2.2.8) 安装后端口(3.3.3) 安装bcrypt ruby(3.0.1) 安装守护进程(1.1.9) 安装数据对象(0.10.13) 安装U跟踪器(0.0.1) 安装virtus(0.5.5) 使用来自git://github.com/datamapper/dm-core.git (船长) 使用来自git://github.com/datamapper/dm-aggregates.git (船长) 使用来自的dm do适配器(1.3.0.beta)git://github.com/datamapper/dm-do-adapter (船长) 使用来自的dm迁移(1.3.0.beta)git://github.com/datamapper/dm-migrations.git (船长) 安装do_postgres(0.10.13) 使用来自的dm postgres适配器(1.3.0.beta)git://github.com/datamapper/dm-postgres-adapter.git (船长) 安装fastercsv(1.5.5) 安装multi_json(1.3.7) 使用来自的dm序列化程序(1.3.0.beta)git://github.com/datamapper/dm-serializer.git (船长) 使用来自的dm时间戳(1.3.0.beta)git://github.com/datamapper/dm-timestamps.git (船长) 使用来自的dm事务(1.3.0.beta)git://github.com/datamapper/dm-transactions.git (船长) 安装stringex(1.5.1) 安装UUID工具(2.1.4) 使用来自的dm类型(1.3.0.beta)git://github.com/datamapper/dm-types.git (船长) 使用来自的dm验证(1.3.0.beta)git://github.com/datamapper/dm-validations.git (船长) 安装eventmachine(1.0.3) 安装pg(0.16.0) 安装机架(1.5.2) 安装机架保护(1.5.0) 安装倾斜装置(1.4.1) 安装sinatra(1.4.3) 安装薄板(1.5.1) 使用捆绑机(1.3.2) 您的包已完成!它已安装到./vendor/bundle中 正在清理绑定器缓存。 来源:rubygems不推荐使用,因为HTTP请求不安全。 请将源代码更改为'https://rubygems.org“如果可能,或者”http://rubygems.org”“如果不是的话。 ----->警告: 您尚未在文件中声明Ruby版本。 要设置Ruby版本,请将此行添加到您的文件: ruby“2.0.0” #看https://devcenter.heroku.com/articles/ruby-versions 了解更多信息。” ----->发现进程类型 Procfile声明类型->web Ruby/Rack->console、rake的默认类型 ----->编译段塞大小:44.4MB ----->发射。。。 !推送被拒绝,内部错误,请重试 到git@heroku.com:[…]吉特 ![远程拒绝]主机->主机(拒绝预接收挂钩) 错误:无法将某些引用推送到'git@heroku.com:[…]吉特'
我尝试过删除并重新创建应用程序,删除并重新创建Gemfile锁,添加Procfile,并声明Ruby版本为“1.9.3”(我在本地使用)。该应用程序在本地运行时毫无怨言。有什么问题吗?

大约一个小时后,在Heroku上成功地推送了完全相同的代码而没有修改


这可能是Heroku的服务问题。

将此标记为答案。