Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #2284

Closed
Open
Created Dec 14, 2012 by Administrator@rootOwner

Gemfile syntax error during install

Created by: Splyf

Hello,

Because lamp-server was already install on my ubuntu (12.04), y tried to install gitlab with this tutorial : http://www.nickyeoman.com/blog/system-administration/180-install-gitlab-on-ubuntu

I followed all instructions find until to be stuck by this one :
/home/gitlab/gitlab$ sudo -u gitlab -H bundle install --without development test sqlite postgres--deployment Gemfile syntax error: /home/gitlab/gitlab/Gemfile:14: syntax error, unexpected ':', expecting $end gem "sqlite3", group: :sqlite ^

After read this : https://groups.google.com/forum/#!msg/gitlabhq/JbDlZAwTofQ/OHWq5jkhvn8J

the problem seem to be that it is using ruby 1.8.3 or older instead of 1.9.x, but if i do: ruby --version It said: ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]

So what? I tried to reinstall ruby, but i'm still stuck.

The tutorial that i folow seam to be took from the "official" (https://github.com/gitlabhq/gitlabhq/blob/stable/doc/install/installation.md), the only differences are about configure mysql and apache2.

Thanks for help

Assignee
Assign to
Time tracking