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
  • #1978

Closed
Open
Created Nov 13, 2012 by Administrator@rootOwner

Setup Error: Gemfile syntax error

Created by: FabianN

I am running Ubuntu Server 12.04 x86 and trying to install stable gitlab via the directions here: https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md

When I get to the 'Install Gems' section and run

sudo -u gitlab -H bundle install --without development test sqlite postgres  --deployment

I get this error:

Gemfile syntax error:
gem "github-markup", "~> 0.7.4", require : 'github/markup'
                                          ^

I did some research and it seems to be connected to running ruby 1.8 but I've confirmed that I'm running 1.9.3.

fabiann@melchior-test:/home/gitlab/gitlab$ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
fabiann@melchior-test:/home/gitlab/gitlab$ gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.23
  - RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [i686-linux]
  - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1
  - RUBY EXECUTABLE: /usr/local/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /usr/local/lib/ruby/gems/1.9.1
     - /home/fabiann/.gem/ruby/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/
Assignee
Assign to
Time tracking