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

Closed
Open
Created May 02, 2013 by Administrator@rootOwner

GemfileError (mysql2 -> mysql) when push some projects

Created by: ginanjarfm

I've just upgraded Gitlab 4.0 to 5.0 and found this error message when I push a commit to Gitlab..

ginanjar@inspiron:~/gin$ git push origin master
Username for 'http://ga.divusi.com': ginanjar
Password for 'http://[email protected]': 
remote: /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/dsl.rb:35:in `eval_gemfile': Gemfile syntax error: (Bundler::GemfileError)
remote: /home/git/gitlab/Gemfile:14: syntax error, unexpected ':', expecting $end
remote: gem "mysql2", group: :mysql
remote:                     ^
remote:     from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/dsl.rb:7:in `evaluate'
remote:     from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/definition.rb:18:in `build'
remote:     from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler.rb:144:in `definition'
remote:     from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler.rb:112:in `setup'
remote:     from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/setup.rb:17
remote: error: hook declined to update refs/heads/master
To http://ga.inspiron.com/gin.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'http://ga.inspiron.com/gin.git'

I follow this instruction to migrate/upgrade the Gitlab app.. Is gitlab-shell stable?

Assignee
Assign to
Time tracking