puppet-gitlab icon indicating copy to clipboard operation
puppet-gitlab copied to clipboard

First install errors on: Could not evaluate: Could not find command 'bundle'

Open kjm0001 opened this issue 8 years ago • 0 comments

On first run it errors with: Debug: /Stage[main]/Gitlab::Package/Vcsrepo[/home/git/gitlab]: The container Class[Gitlab::Package] will propagate my refresh event Notice: /Stage[main]/Gitlab::Package/Vcsrepo[/home/git/gitlab-shell]/ensure: Creating repository from present Debug: Executing with uid=git: 'git clone https://github.com/gitlabhq/gitlab-shell.git /home/git/gitlab-shell' Debug: Executing with uid=git: 'git config -l' Debug: Executing with uid=git: 'git branch -a' Debug: Executing with uid=git: 'git branch -a' Debug: Executing with uid=git: 'git checkout --force v2.6.12' Debug: Executing with uid=git: 'git submodule update --init --recursive' Notice: /Stage[main]/Gitlab::Package/Vcsrepo[/home/git/gitlab-shell]/ensure: created Debug: /Stage[main]/Gitlab::Package/Vcsrepo[/home/git/gitlab-shell]: The container Class[Gitlab::Package] will propagate my refresh event Debug: Class[Gitlab::Package]: The container Stage[main] will propagate my refresh event Notice: /Stage[main]/Gitlab::Install/File[/home/git/gitlab-shell/config.yml]/ensure: defined content as '{md5}9d42455d11956f380685703400c8d612' Debug: /Stage[main]/Gitlab::Install/File[/home/git/gitlab-shell/config.yml]: The container Class[Gitlab::Install] will propagate my refresh event Debug: Execinstall gitlab-shell: Executing 'ruby /home/git/gitlab-shell/bin/install' Debug: Executing with uid=git: 'ruby /home/git/gitlab-shell/bin/install' Notice: /Stage[main]/Gitlab::Install/Exec[install gitlab-shell]/returns: executed successfully Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab-shell]: The container Class[Gitlab::Install] will propagate my refresh event Notice: /Stage[main]/Gitlab::Install/Exec[install gitlab-shell]: Triggered 'refresh' from 1 events Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab-shell]: The container Class[Gitlab::Install] will propagate my refresh event Notice: /Stage[main]/Gitlab::Install/File[/home/git/gitlab/config/gitlab.yml]/ensure: defined content as '{md5}5bcce878ec18e30bbfbc8352523f780d' Debug: /Stage[main]/Gitlab::Install/File[/home/git/gitlab/config/gitlab.yml]: The container Class[Gitlab::Install] will propagate my refresh event Debug: Evicting cache entry for environment 'development' Debug: Caching environment 'development' (ttl = 0 sec) Notice: /Stage[main]/Gitlab::Install/File[/home/git/gitlab/config/initializers/rack_attack.rb]/ensure: defined content as '{md5}242c6640befbc8a2bee73b42342be6b8' Debug: /Stage[main]/Gitlab::Install/File[/home/git/gitlab/config/initializers/rack_attack.rb]: The container Class[Gitlab::Install] will propagate my refresh event Debug: Execfix ruby paths in gitlab-shell hooks: Executing check 'head -q -n 1 * | egrep -v '^#!/home/git/.rbenv/shims/ruby$'' Debug: Executing with uid=git: 'head -q -n 1 * | egrep -v '^#!/home/git/.rbenv/shims/ruby$'' Debug: /Stage[main]/Gitlab::Install/Exec[fix ruby paths in gitlab-shell hooks]/onlyif: #!/usr/bin/env ruby Debug: /Stage[main]/Gitlab::Install/Exec[fix ruby paths in gitlab-shell hooks]/onlyif: #!/usr/bin/env ruby Debug: /Stage[main]/Gitlab::Install/Exec[fix ruby paths in gitlab-shell hooks]/onlyif: #!/usr/bin/env ruby Debug: Execfix ruby paths in gitlab-shell hooks: Executing 'ruby -p -i -e '$.sub!(/^#!.*ruby$/,"#!/home/git/.rbenv/shims/ruby")' *' Debug: Executing with uid=git: 'ruby -p -i -e '$.sub!(/^#!.*ruby$/,"#!/home/git/.rbenv/shims/ruby")' *' Notice: /Stage[main]/Gitlab::Install/Exec[fix ruby paths in gitlab-shell hooks]/returns: executed successfully Debug: /Stage[main]/Gitlab::Install/Exec[fix ruby paths in gitlab-shell hooks]: The container Class[Gitlab::Install] will propagate my refresh event Notice: /Stage[main]/Gitlab::Install/Gitlab::Config::Database[gitlab]/File[/home/git/gitlab/config/database.yml]/ensure: defined content as '{md5}8d042f1f37f8c6f2257773a2a2248e61' Debug: /Stage[main]/Gitlab::Install/Gitlab::Config::Database[gitlab]/File[/home/git/gitlab/config/database.yml]: The container Gitlab::Config::Database[gitlab] will propagate my refresh event Debug: Gitlab::Config::Database[gitlab]: The container Class[Gitlab::Install] will propagate my refresh event Notice: /Stage[main]/Gitlab::Install/Gitlab::Config::Unicorn[gitlab]/File[/home/git/gitlab/config/unicorn.rb]/ensure: defined content as '{md5}4e1d5345b349b4f3a72889a8cd67c65f' Debug: /Stage[main]/Gitlab::Install/Gitlab::Config::Unicorn[gitlab]/File[/home/git/gitlab/config/unicorn.rb]: The container Gitlab::Config::Unicorn[gitlab] will propagate my refresh event Debug: Gitlab::Config::Unicorn[gitlab]: The container Class[Gitlab::Install] will propagate my refresh event Notice: /Stage[main]/Gitlab::Install/Gitlab::Config::Resque[gitlab]/File[/home/git/gitlab/config/resque.yml]/ensure: defined content as '{md5}8010ba140d8589470f9104e6568ba8e4' Debug: /Stage[main]/Gitlab::Install/Gitlab::Config::Resque[gitlab]/File[/home/git/gitlab/config/resque.yml]: The container Gitlab::Config::Resque[gitlab] will propagate my refresh event Debug: Gitlab::Config::Resque[gitlab]: The container Class[Gitlab::Install] will propagate my refresh event Error: /Stage[main]/Gitlab::Install/Exec[install gitlab]: Could not evaluate: Could not find command 'bundle' Error: /Stage[main]/Gitlab::Install/Exec[install gitlab]: Failed to call refresh: Could not find command 'bundle' Error: /Stage[main]/Gitlab::Install/Exec[install gitlab]: Could not find command 'bundle' Notice: /Stage[main]/Gitlab::Install/Exec[setup gitlab database]: Dependency Exec[install gitlab] has failures: true Warning: /Stage[main]/Gitlab::Install/Exec[setup gitlab database]: Skipping because of failed dependencies Debug: /Stage[main]/Gitlab::Install/Exec[setup gitlab database]: Resource is being skipped, unscheduling all events

but if i run it again it gets past the bundle error and continues on:

Debug: Executing: '/bin/rpm -q mysql-devel --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n' Debug: Executing: '/bin/rpm -q mysql-devel --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides' Debug: Execrbenv::shrc git: Executing check 'grep -q rbenvrc /home/git/.profile' Debug: Executing with uid=git gid=git: 'grep -q rbenvrc /home/git/.profile' Debug: Execrbenv::rehash git 2.1.8: Executing check '[ -e '/home/git/.rbenv/.rehash' ]' Debug: Executing with uid=git gid=git: '[ -e '/home/git/.rbenv/.rehash' ]' Debug: Executing: '/bin/su - git -c RBENV_VERSION=2.1.8 /home/git/.rbenv/versions/2.1.8/bin/gem list --local charlock_holmes$' Debug: Executing: '/bin/su - git -c RBENV_VERSION=2.1.8 /home/git/.rbenv/versions/2.1.8/bin/gem list --local bundler$' Debug: Executing with uid=git: 'git config -l' Debug: Executing with uid=git: 'git fetch origin' Debug: Executing with uid=git: 'git fetch --tags origin' Debug: Executing with uid=git: 'git rev-parse HEAD' Debug: Executing with uid=git: 'git tag -l' Debug: Executing with uid=git: 'git branch -a' Debug: Executing with uid=git: 'git rev-parse 8-6-stable' Debug: Executing with uid=git: 'git config -l' Debug: Executing with uid=git: 'git fetch origin' Debug: Executing with uid=git: 'git fetch --tags origin' Debug: Executing with uid=git: 'git rev-parse HEAD' Debug: Executing with uid=git: 'git tag -l' Debug: Executing with uid=git: 'git rev-parse v2.6.12^0' Debug: Execfix ruby paths in gitlab-shell hooks: Executing check 'head -q -n 1 * | egrep -v '^#!/home/git/.rbenv/shims/ruby$'' Debug: Executing with uid=git: 'head -q -n 1 * | egrep -v '^#!/home/git/.rbenv/shims/ruby$'' Debug: Execinstall gitlab: Executing check 'bundle check' Debug: Executing with uid=git: 'bundle check' Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab]/unless: The following gems are missing Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab]/unless: * rake (10.5.0) Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab]/unless: * CFPropertyList (2.3.2) Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab]/unless: * RedCloth (4.2.9)

kjm0001 avatar Sep 22 '16 20:09 kjm0001