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

Closed
Open
Created Oct 23, 2012 by Administrator@rootOwner

no such file to load -- rb-inotify

Created by: phishstang65

I am trying to follow these instructions to upgrade my gitolite v2 to v3:

"If this issue occurs in 2.9.x you should reinstall gitolite.

  1. backup all repositories. Just copy /home/git/repositories/* elsewhere.
  2. Install new gitolite. See https://github.com/gitlabhq/gitlabhq/blob/master/doc/installation.md
  3. copy repositories back.
  4. sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_keys && sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_repos That's all. That steps also related to users who wants to update gitolite v2 to v3"

My Gemfile and Gemfile.lock have rb-inotify in them as shown below:

gitlabhq@build:~/gitlabhq$ grep notify Gemfile gem 'rb-inotify', :require => linux_only('rb-inotify') gitlabhq@build:~/gitlabhq$ grep notify Gemfile.lock rb-inotify (0.8.8) rb-inotify

I am trying to update my keys and repos using the following commands but I always get the error "no such file to load --rb-inotify"

gitlabhq@geminibuild:~/gitlabhq$ sudo -u gitlabhq -H bundle exec rake gitlab:gitolite:update_keys rake aborted! no such file to load -- rb-inotify (See full trace by running task with --trace)

I've tried to do a bundle install , and the list of 'Using " does not contain the rb-notify gem.

I've tried to install the rb-inotify gem like so: sudo -u gitlabhq gem install rb-inotify

I've wiped the Gemfile.lock file and then run: sudo -u gitlabhq bundle install

Still no luck.

How can I get Gitlab to recognize and use rb-inotify. Thank you -

Assignee
Assign to
Time tracking