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

Closed
Open
Created Nov 04, 2014 by Administrator@rootOwner

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?

Assignee
Assign to
Time tracking