title: Sidekiq not running on GitLab 6.0.0 install
body: <p>I have followed the instructions to install GitLab 6.0.0:  <a href="https://github.com/gitlabhq/gitlabhq/blob/6-0-stable/doc/install/installation.md" rel="nofollow">https://github.com/gitlabhq/gitlabhq/blob/6-0-stable/doc/install/installation.md</a></p>
  
  <p>When I get to "Check Application Status" and run</p>
  
  <p><code>sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production</code></p>
  
  <p>I see "<strong>Bundler Version:unknown</strong>":</p>
  
  <pre><code>System information
  System:         Ubuntu 12.04
  Current User:   git
  Using RVM:      no
  Ruby Version:   1.9.3p0
  Gem Version:    1.8.11
  Bundler Version:unknown
  Rake Version:   10.1.0
  
  GitLab information
  Version:        6.0.0
  Revision:       5246d63
  Directory:      /home/git/gitlab
  DB Adapter:     mysql2
  URL:            http://my-server
  HTTP Clone URL: http://my-server/some-project.git
  SSH Clone URL:  git@my-server:some-project.git
  Using LDAP:     no
  Using Omniauth: no
  
  GitLab Shell
  Version:        1.7.0
  Repositories:   /home/git/repositories/
  Hooks:          /home/git/gitlab-shell/hooks/
  Git:            /usr/bin/git
  </code></pre>
  
  <p><code>bundle --version</code> and <code>sudo -u git -H bundle --version</code> both show <strong>1.3.5</strong>, so I'm not sure why it's showing "unknown" for the command above...</p>
  
  <p>...so I proceed and run <code>sudo service gitlab start</code> and it says "GitLab service started", but it seems that's not true as <code>sudo service gitlab status</code> says "GitLab service is <strong>not running</strong>" and <code>/home/git/gitlab/tmp/pids</code> is empty but has permissions: "drwxr-xr-x" for user and group "git".</p>
  
  <p><a href="https://github.com/gitlabhq/gitlabhq/issues/2995" rel="nofollow">axilleas</a> managed to get past this by creating the directory, but that's not my issue.</p>
  
  <p>...I probably shouldn't expect it to work from here, but I proceed anyway, but now it's complaining about <strong>sidekiq</strong>:</p>
  
  <p><code>sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production</code></p>
  
  <pre><code>Checking Environment ...
  
  Git configured for git user? ... yes
  Has python2? ... yes
  python2 is supported version? ... yes
  
  Checking Environment ... Finished
  
  Checking GitLab Shell ...
  
  GitLab Shell version &gt;= 1.7.0 ? ... OK (1.7.0)
  Repo base directory exists? ... yes
  Repo base directory is a symlink? ... no
  Repo base owned by git:git? ... yes
  Repo base access is drwxrws---? ... yes
  post-receive hook up-to-date? ... yes
  post-receive hooks in repos are links: ... can't check, you have no projects
  
  Checking GitLab Shell ... Finished
  
  Checking Sidekiq ...
  
  Running? ... no
    Try fixing it:
    sudo -u git -H bundle exec rake sidekiq:start RAILS_ENV=production
    For more information see:
    doc/install/installation.md in section "Install Init Script"
    see log/sidekiq.log for possible errors
    Please fix the error above and rerun the checks.
  
  Checking Sidekiq ... Finished
  
  Checking GitLab ...
  
  Database config exists? ... yes
  Database is SQLite ... no
  All migrations up? ... /home/git/gitlab/vendor/bundle/ruby/1.9.1/bin/rake: No such file or directory - bundle exec rake db:migrate:status
  yes
  GitLab config exists? ... yes
  GitLab config outdated? ... no
  Log directory writable? ... yes
  Tmp directory writable? ... yes
  Init script exists? ... yes
  Init script up-to-date? ... yes
  Projects have satellites? ... can't check, you have no projects
  Redis version &gt;= 2.0.0? ... yes
  Your git bin path is "/usr/bin/git"
  Git version &gt;= 1.7.10 ? ... yes (1.8.3)
  
  Checking GitLab ... Finished
  </code></pre>
  
  <p><a href="https://github.com/gitlabhq/gitlabhq/issues/3026" rel="nofollow">adril</a> Has experienced this problem (but his bundler is working properly).  He follows the advice but for some reason his log file has a lot more info than mine - mine just has a single line:</p>
  
  <blockquote>
    <p>nohup: failed to run command <strong>`bundle': No such file or directory</strong></p>
  </blockquote>
  
  <p>...maybe it's got to do with the line "<strong>No such file or directory - bundle exec rake db:migrate:status</strong>"?</p>
  
  <p>No, I think that one is safe to ignore? - this works okay: <code>sudo -u git -H bundle exec rake db:migrate:status RAILS_ENV=production</code></p>
  
  <p>Edit:
  When I run <code>echo $PATH</code> I see <code>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games</code>.</p>
  
  <p>I've added some logging to lib/tasks/gitlab/info.rake and it turns out that gitlab is using a different path:</p>
  
  <p><code>/home/git/gitlab/vendor/bundle/ruby/1.9.1/bin:/usr/bin:/bin:/usr/sbin:/sbin</code></p>
  
  <p>bundle is installed at <code>/usr/local/bin</code></p>