Skip to content

Instantly share code, notes, and snippets.

@klynton
Created March 21, 2013 00:27
Show Gist options
  • Save klynton/5209756 to your computer and use it in GitHub Desktop.
Save klynton/5209756 to your computer and use it in GitHub Desktop.
[web@web redmine]$ bundle install --local --system
Gemfile syntax error:
[web@web redmine]$
[web@web redmine]$ ruby1.9 -c Gemfile
Syntax OK
[web@web redmine]$ bundle install --local --system
Gemfile syntax error:
[web@web redmine]$
@rkallensee
Copy link

Just in case anyone experienced the same error: I found out that I set a password in my config/database.yml which broke the Yaml file which in turn leaded to this "Gemfile syntax error" (because the Gemfile reads the database.yml to install the used database adapter). Changing my password fixed this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment