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

Closed
Open
Created Apr 24, 2013 by Administrator@rootOwner

Accept Merge Request fails

Created by: abohne

When I click on "Accept Merge Request" it appears to fail. I see the following in githost.log.

April 24, 2013 14:36 -> ERROR -> Command failed [1]: /usr/bin/git --git-dir=/home/git/gitlab-satellites/puppet-modules/.git push origin development

remote: /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler/dsl.rb:33: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/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler/dsl.rb:9:in `evaluate'
remote:         from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler/definition.rb:19:in `build'
remote:         from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler.rb:148:in `definition'
remote:         from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler.rb:116:in `setup'
remote:         from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler/setup.rb:17
remote: error: hook declined to update refs/heads/development

I'm not too familiar with bundler, but according to their documentation at http://gembundler.com/v1.3/gemfile.html, it appears that instead of

gem "mysql2", group: :mysql

that line should read as

gem "mysql2", :group => :mysql

Was the syntax for Gemfile changed, and perhaps I'm using too new of a version?

In case it matters, this system is running RHEL 6.4 x86_64 w/ Ruby 1.9.3p392 via RVM.

Assignee
Assign to
Time tracking