Can't accept merge request (Gemfile not found (Bundler::GemfileNotFound))
Created by: favadi
I also have this problem, but I don' use rvm (but do have ruby1.8 and ruby2.1 installed). I removed ruby1.8 and the problem is still persists.
The error:
November 04, 2014 08:51 -> ERROR -> Command failed [1]: git --git-dir=/home/gitlab/gitlab-satellites/favadi/test/.git --work-tree=/home/gitlab/gitlab-satellites/favadi/test push origin master
remote: /var/lib/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/definition.rb:22:in `build': /home/gitlab/repositories/favadi/test.git/Gemfile not found (Bundler::GemfileNotFound)
remote: from /var/lib/gems/2.1.0/gems/bundler-1.7.3/lib/bundler.rb:154:in `definition'
remote: from /var/lib/gems/2.1.0/gems/bundler-1.7.3/lib/bundler.rb:117:in `setup'
remote: from /var/lib/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/setup.rb:17:in `<top (required)>'
remote: from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
remote: from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
To /home/gitlab/repositories/favadi/test.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '/home/gitlab/repositories/favadi/test.git'
gitlab-shell config:
---
user: gitlab
gitlab_url: https://git.mycompany.com/
http_settings:
self_signed_cert: false
repos_path: "/home/gitlab/repositories/"
auth_file: "/home/gitlab/.ssh/authorized_keys"
redis:
bin: "/usr/bin/redis-cli"
namespace: resque:gitlab
socket: "/var/run/redis/redis.sock"
log_level: INFO
audit_usernames: false
I see #8045 (closed) but don't know if they related at all.
Now push, pull, create repos, .. work fine, but Accept Merge Request and Web Edit do not work.
My error is about missing /home/gitlab/repositories/favadi/test.git/Gemfile
file. Is this file suppose to exist in the repositories?