2012-11-28 57 views
0

我正在使用最初在Bundler和Gemfiles之前構建的舊Rails應用程序。如果沒有Gemfile,是否有可能將此應用程序推送到Heroku?該應用程序正在Bamboo Stack上進行製作,並且沒有任何工作。我想補充的雪松棧開發環境(竹現已關閉),並得到一個錯誤:在沒有Gemfile的情況下部署到Heroku

-----> Heroku receiving push 
-----> Removing .DS_Store files 
!  Heroku push rejected, no Cedar-supported app detected 

是不再可能推到Heroku上沒有的Gemfile?如果這是需要的,我會add a Gemfile

回答

0

從Heroku的支持官方的一句話:

Hi, yes you need a Gemfile for ruby apps; we don't have any gems installed on the base system so that's how you specify them. That's also how we detect it's a ruby app.

Also potentially useful: https://github.com/kch/gemfile-tool

相關問題