3

我昨天能够部署到heroku就好了。我们在带有 rails 3.2 应用程序的 cedar 堆栈上。当我部署它给我这个:

$ git push -f heroku-ab-staging  tmp-heroku-deploy-gochez_heroku_test-2012-05-08-10-43-39:master
Counting objects: 222, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (162/162), done.
Writing objects: 100% (191/191), 112.28 KiB, done.
Total 191 (delta 45), reused 13 (delta 0)

-----> Heroku receiving push
-----> Ruby/Rails app detected
 !
 !     Invalid RUBY_VERSION specified: fatal:-Not-a-git-repository:-'.'-fatal:-Not-a-git-repository:-'.'-fatal:-Not-a-git-repository:-'.'-No-ruby-version-specified
 !     Valid versions: ruby-1.9.3-p0, ruby-1.9.3-p125, rbx-1.2.4, rbx-2.0.0dev-20120115-1.9, rbx-2.0.0dev-20120115-1.8, rbx-2.0.0dev-20120123-1.9, rbx-2.0.0dev-20120123-1.8, ruby-1.9.2-p290, jruby-1.6.5.1, jruby-1.6.7, ruby-1.9.3, ruby-1.9.2
 !
 !     Heroku push rejected, failed to compile Ruby/rails app

To git@heroku.com:myapp.git
 ! [remote rejected] tmp-heroku-deploy-gochez_heroku_test-2012-05-08-10-43-39 -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:myapp.git'

myapp(请注意,出于隐私考虑,我将真实应用的名称更改为)

知道可能是什么原因造成的吗?它昨天工作得很好。我可以执行哪些调试来找出问题所在?

4

1 回答 1

2

我们更改了您正在使用的未记录 API 并发布了正式版 ruby​​ 支持:http ://blog.heroku.com/archives/2012/5/9/multiple_ruby_version_support_on_heroku/您现在需要使用 Bundler 1.2.0 +。如果您有任何问题,请告诉我。

于 2012-05-09T17:07:35.653 回答