Heroku deployment fails during Bundle Install

旧巷老猫 提交于 2019-12-11 03:33:59

问题


When pushing my app Rails3 to Heroku, it gets rejected with:

Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment sh: Syntax error: Unterminated quoted string

but when I run ruby -c Gemfile I get Syntax OK.

Any tips?

Edit: source code can be found here: https://github.com/tubedude/portfolio_tracker I'm using ruby 2.1.0 and Rails 3.2.17


回答1:


We had the same issue on two of our apps. It turned out that a recent stack upgrade caused one of Heroku config variables to throw this error. One of our passwords had a double quote which caused theSyntax error: Unterminated quoted string Error. I suggest checking your Heroku config variables for this issue.

To check this run heroku config in your console



来源:https://stackoverflow.com/questions/22017128/heroku-deployment-fails-during-bundle-install

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!