Merge requests not working anymore
Created by: valeriansaliou
Merge requests are not working anymore. When accepting a merge request, it takes some time and then redirect back to the same page, with the same accept merge button (a "merged" status page is rather expected). Git-wise, the merge has never been done, also.
What's strange, looking at the error log below, is that it's caused by a missing Gem. However, I followed the update guide (v7.0 to v7.1) as-is. Rake might be missing in the Gemfile, or wrong version is being loaded?
Everything else is working on my setup, though.
Steps to reproduce:
- Commit something to master
- Create a new merge request from master to production (protected branch)
- Submit merge details
- Accept merge after CI + code check
- Wait...
- Same page loading again, merge is never accepted
System: GitLab v7.1.0 running w/ Ruby v2.1.2 on Debian Wheezy
Error log (githost.log):
July 28, 2014 18:14 -> ERROR -> Command failed [1]: /usr/bin/git --git-dir=/srv/data_agency/git/gitlab-satellites/singulia/singulia-demo/.git --work-tree=/srv/data_agency/git/gitlab-satellites/singulia/singulia-demo push origin production
remote: /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/spec_set.rb:85:in `map!'[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/spec_set.rb:85:in `materialize'[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/definition.rb:133:in `specs'[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/definition.rb:178:in `specs_for'[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/definition.rb:167:in `requested_specs'[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/environment.rb:18:in `requested_specs'[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/runtime.rb:13:in `setup'[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler.rb:120:in `setup'[K
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.6.4/lib/bundler/setup.rb:17:in `<top (required)>'[K
remote: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'[K
remote: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'[K
remote: error: hook declined to update refs/heads/production[K
To /srv/data_agency/git/repositories/singulia/singulia-demo.git
! [remote rejected] production -> production (hook declined)
error: failed to push some refs to '/srv/data_agency/git/repositories/singulia/singulia-demo.git'