내가 Gitlab을 사용하고 내가 v3으로 내 gitolite v2를 업그레이드하려면 다음 지침을 따르도록 노력하고 있어요 :Gitlab로드 해당 파일에 루비 보석 - RB-inotify를
"이 문제가 2.9.x에서 발생하는 경우 당신은 gitolite를 다시 설치해야합니다.
이1) 모든 저장소가. 그냥 복사 백업/홈/자식/저장소가/* 다른 곳.
2) 새로운 gitolite를 설치합니다. https://github.com/gitlabhq/gitlabhq/blob/master/doc/installation.md
3 참조)이 다시 저장소를 복사 .
을4)는 sudo -u gitlab -H 간부 레이크 gitlab 번들 : gitolite : update_keys & &는 sudo -u gitlab -H 간부 레이크 gitlab 번들 : gitolite : 전부
update_repos.
단계는 또한 "v3으로 gitolite v2를 업데이트하려는 사용자와 관련된 그건
다음과 같이 내 Gemfile 및 Gemfile.lock 그들에 RB-inotify를 가지고: 나는에 노력하고
[email protected]:~/gitlabhq$ grep notify Gemfile
gem 'rb-inotify', :require => linux_only('rb-inotify')
[email protected]:~/gitlabhq$ grep notify Gemfile.lock
rb-inotify (0.8.8)
rb-inotify
을 내 키와 REPOS 다음 명령을 사용하지만 난 항상 오류 업데이트 "해당 파일은 --rb-inotify를로드 할"
[email protected]:~/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)
번들 설치를 시도했으며 '사용 중'목록에 rb-notify gem이 포함되어 있지 않습니다.
그래서 같은 RB-inotify를 보석을 설치하려고했습니다
sudo -u gitlabhq gem install rb-inotify
나는 Gemfile.lock 파일을 닦아하고 실행했습니다 : 아직도
sudo -u gitlabhq bundle install
행운.
Gitlab에서 rb-inotify를 인식하고 사용하려면 어떻게해야합니까? 주셔서 감사합니다 -
'ruby-inotify'를 설치하려고 했습니까? https://github.com/aredridel/ruby-inotify (http://stackoverflow.com/questions/8061881/ruby-loaderror-inotify에서 제안) – VonC
예 저장소를 복제하고 'sudo gem install ruby-inotify'를 실행했습니다. '성공 메시지를 받았지만 여전히'sudo -u gitlab -H 번들 exec rake gitlab : gitolite : update_keys '명령으로 동일한 오류가 발생합니다. – PhilBot
'inotify '참조'Gemfile' 및'Gemfile 'rake' 명령을 실행할 수 있는지보기 위해서? – VonC