Gitlab unable to use SSH to push a commit, "undefined method 'request_uri' for #<URI::Generic:0xb8c651c0>""
Created by: DaveXu
Hi,
I have installed Gitlab following the step by step installation guide. Currently and pushing and clone using http works fine. However, when I try to push a commit to the gitlab repo, I get the following error mesage:
/home/git/gitlab-shell/lib/gitlab_net.rb:57:in get': undefined method
request_uri' for #URI::Generic:0xb8c651c0 (NoMethodError)
from /home/git/gitlab-shell/lib/gitlab_net.rb:17:in allowed?' from /home/git/gitlab-shell/lib/gitlab_shell.rb:60:in
validate_access'
from /home/git/gitlab-shell/lib/gitlab_shell.rb:24:in exec' from /home/git/gitlab-shell/bin/gitlab-shell:16:in
'
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Any idea??? Please help.
Dave Xu