捆绑安装期间,Heroku部署失败 [英] Heroku deployment fails during Bundle Install
问题描述
运行:捆绑安装 - 无需开发:测试 - 路径供应商/捆绑--binstubs供应商/捆绑/ bin -j4 - 部署
sh:语法错误:未终止的引用字符串
<但是当我运行 ruby -c Gemfile
我得到语法OK
。
任何提示?
编辑:
源代码可以在这里找到: https://github.com/tubedude/portfolio_tracker
我使用的是ruby 2.1.0和Rails 3.2.17
我们在两个应用中遇到同样的问题。原来,最近的堆栈升级导致Heroku配置变量中的一个引发此错误。其中一个密码有一个双引号,导致语法错误:未终止的带引号的字符串
错误。我建议检查你的Heroku配置变量是否存在这个问题。
在你的控制台中检查 heroku config
p>
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
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
这篇关于捆绑安装期间,Heroku部署失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!