Reputation: 137
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
Upvotes: 2
Views: 1560
Reputation: 85
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
Upvotes: 2