有無有一個應用程序並工作了一段時間,但現在我不能混帳推:無法推動應用的Heroku ... ENV:束:沒有這樣的文件或目錄
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-1.9.3-p125
-----> Installing dependencies using
Fixing nokogiri install. Clearing bundler cache.
See https://github.com/sparklemotion/nokogiri/issues/923.
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
env: bundle: No such file or directory
Bundler Output: env: bundle: No such file or directory
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app
我檢查的路徑每https://github.com/heroku/heroku-buildpack-ruby/commit/00ae3eb09522028b692bfda15d4089b5531f0b79和Heroku的配置報告:
GEM_PATH: vendor/bundle/ruby/1.9.1
LANG: en_US.UTF-8
PATH: bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin
所以它看起來像路徑是正確的,雖然我不明白爲什麼它的Ruby 1.9.1當我使用的是1.9.3。
Gemfile中包含:
source 'https://rubygems.org'
gem 'rails', '~>3.2'
FWIW我已經嘗試了包更新和comitted到Gemfile.lock的變化,但仍無法推動它。