ruby-on-rails - 将 Rails 应用程序部署到 heroku 时出错(无法使用供应商创建资源)

标签 ruby-on-rails git heroku

我想开发一个小的 Rails 应用程序并将其部署到 Heroku。 这是我第二次使用 Heroku,但第一次没有遇到问题

这一次,当我尝试使用此命令行部署它时:

git push origin master

我有这个:

Counting objects: 73, done.
Delta compression using up to 4 threads.
>Compressing objects: 100% (59/59), done.
Writing objects: 100% (73/73), 27.16 KiB, done.
Total 73 (delta 9), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.2
   Running: bundle install --without development:test --path vendor/bundle -- binstubs bin/ --deployment
   Fetching gem metadata from https://rubygems.org/.........
   Fetching gem metadata from https://rubygems.org/..
   Installing rake (10.0.3)
   Installing i18n (0.6.1)
   Installing multi_json (1.5.0)
   Installing activesupport (3.2.9)
   Installing builder (3.0.4)
   Installing activemodel (3.2.9)
   Installing erubis (2.7.0)
   Installing journey (1.0.4)
   Installing rack (1.4.3)
   Installing rack-cache (1.2)
   Installing rack-test (0.6.2)
   Installing hike (1.2.1)
   Installing tilt (1.3.3)
   Installing sprockets (2.2.2)
   Installing actionpack (3.2.9)
   Installing mime-types (1.19)
   Installing polyglot (0.3.3)
   Installing treetop (1.4.12)
   Installing mail (2.4.4)
   Installing actionmailer (3.2.9)
   Installing arel (3.0.2)
   Installing tzinfo (0.3.35)
   Installing activerecord (3.2.9)
   Installing activeresource (3.2.9)
   Installing coffee-script-source (1.4.0)
   Installing execjs (1.4.0)
   Installing coffee-script (2.2.0)
   Installing rack-ssl (1.3.2)
   Installing json (1.7.6)
   Installing rdoc (3.12)
   Installing thor (0.16.0)
   Installing railties (3.2.9)
   Installing coffee-rails (3.2.2)
   Installing daemons (1.1.9)
   Installing eventmachine (1.0.0)
   Installing jquery-rails (2.1.4)
   Installing pg (0.14.1)
   Using bundler (1.3.0.pre.2)
   Installing rails (3.2.9)
   Installing sass (3.2.5)
   Installing sass-rails (3.2.5)
   Installing thin (1.5.0)
   Installing uglifier (1.3.0)
   Your bundle is complete! It was installed into ./vendor/bundle
   Post-install message from rdoc:
   Depending on your version of ruby, you may need to install ruby rdoc/ri data:
   <= 1.8.6 : unsupported
   = 1.8.7 : gem install rdoc-data; rdoc-data --install
   = 1.9.1 : gem install rdoc-data; rdoc-data --install
   >= 1.9.2 : nothing to do! Yay!
   Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
   Running: rake assets:precompile
   Asset precompilation completed (11.92s)
-----> Rails plugin injection
   Injecting rails_log_stdout
   Injecting rails3_serve_static_assets
-----> Discovering process types
   Procfile declares types      -> (none)
   Default types for Ruby/Rails -> console, rake, web, worker
-----> Compiled slug size: 10.1MB
-----> Launching... !     Heroku push rejected, Could not create resource with vendor, please try again later

To git@heroku.com:stage-2013.git
 ! [remote rejected] HEAD -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:stage-2013.git'

在 .git/config 我有这个:

[remote "origin"]
    url = git@heroku.com:stage-2013.git
    fetch = +refs/heads/*:refs/remotes/origin/*
push = +HEAD:refs/heads/master

如果有人有想法,感谢帮助

最佳答案

这听起来像是供应商 (Heroku) 的问题,而不是我们的问题。

关于ruby-on-rails - 将 Rails 应用程序部署到 heroku 时出错(无法使用供应商创建资源),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14207403/

相关文章:

html - 未定义方法 `stringify_keys' (ROR)

ruby-on-rails - 无法覆盖设计密码 Controller

ruby-on-rails - 发送电子邮件时 Heroku 超时

javascript - Rails 创建时无需重定向或刷新

ruby-on-rails - 如何在 Rails 5 的测试 Controller 中使用 session ?

git - 如何防止我的 git 损坏?

git - Android Studio 设置 - 清除只读状态

git - 是否有检查 Git Bash 是否以管理员模式打开的命令?

node.js - 由heroku调度程序创建的一次性dyno永远不会死(永远不会自杀,自杀......)

php - Heroku WordPress : mysql extension missing after update