On 06/13/2014 10:35 PM, Francesco Antognazza wrote: > Hi! I followed this > <https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md> > guide to install gitlab on centos 6.5; otherwise I cannot complete the > installation even if I followed all the istructions. I'm blocked at the > paragraph "Install gitlab shell" with the command > > |sudo -u git -H bundle exec rake gitlab:shell:install[v1.9.4] > REDIS_URL=redis://localhost:6379 RAILS_ENV=production| > || > > | > the error log is: > > | > > ** Invoke gitlab:shell:install (first_time) > ** Invoke environment (first_time) > ** Execute environment > rake aborted! > NoMethodError: undefined method `to_hash' for "chown -R git > {log,tmp} chmod -R u+rwX {log,tmp}#":String > > /opt/git/gitlab/vendor/bundle/ruby/2.0.0/gems/settingslogic-2.0.9/lib/settingslogic.rb:103:in > `initialize'
snip... Are you installing on a different directory than the guide suggests? I see you are using /opt which is used by the omnibus package [0] (you may want to use that btw). If I where you I would look to see if there is another ruby installed on my system. Using the CentOS guide you should have ruby installed in /usr/local/bin and gems installed in /home/git/gitlab/vendor/bundle/. [0] https://www.gitlab.com/downloads/ -- GPG : 0xABF99BE5 Blog: http://axilleas.me -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/539B6D0E.9050203%40gmail.com. For more options, visit https://groups.google.com/d/optout.
