Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Bundler issue #479

Open
ghost opened this issue Jan 18, 2016 · 4 comments
Open

Bundler issue #479

ghost opened this issue Jan 18, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 18, 2016

Installing promdash on ubuntu 12.04. Tried to install it with ruby1.8 and 1.9 also. Still facing below issue

[!] There was an error parsing Gemfile: compile error - syntax error, unexpected ':', expecting $end
gem 'mysql2', group: 'mysql'
^. Bundler cannot continue.

from /var/lib/Prometheus/promdash/Gemfile:7

-------------------------------------------

# Allow people to ignore the database provider they don't need by doing bundle install --without mysql

gem 'mysql2', group: 'mysql'

gem 'pg', group: 'postgresql'

-------------------------------------------

Command :bundle install --without mysql postgresql

@stuartnelson3
Copy link
Collaborator

Have you modified the Gemfile? I am able to run the command you listed without error:

bundle install --without mysql postgresql

(on debian, however)

@ghost
Copy link
Author

ghost commented Jan 18, 2016

No I did not edit any file. I have cloned that directory as it is.
Is there any issue of ruby version?

@stuartnelson3
Copy link
Collaborator

we support the version listed in .ruby-version, which currently reads 2.0.0-p645

@matthiasr
Copy link

The group: 'mysql' syntax is Ruby 1.9+ – the Ruby in 12.04 is quite ancient, try using RVM to use the supported version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants