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.