It's a fairly simple fix. You'll need to revert Marius Mathiesen's commit 
(SHA1 46b346e70417c974190e2559fb0d78cd01dc6fa5) titled 'Extracting 
repository root into a separate class'. In 'lib/gitorious/ssh/client.rb', 
replace: 

full_real_path = File.join(RepositoryRoot.default_base_path,
with
full_real_path = File.join(GitoriousConfig["repository_base_path"], 

It seems he intended to split some functionality into another class, but 
didn't actually create the new class.


On Friday, September 7, 2012 6:16:37 PM UTC+1, Justin Smith wrote:
>
> I've installed gitorious on Ubuntu 12.04 Server following 
> http://edin.no-ip.com/blog/hswong3i/gitorious-ubuntu-12-04-mini-howto, 
> and the web interface works properly.
>
> I've disabled http and git cloning with only SSH available, and I receive 
> the following when trying to clone:
>
> F, [2012-09-07 11:46:48#2121] FATAL -- : NameError uninitialized constant 
> Gitorious::SSH::Client::RepositoryRoot: 
> /var/www/gitorious/script/../lib/gitorious/ssh/client.rb:62:in `real_path'
>   /var/www/gitorious/script/../lib/gitorious/ssh/client.rb:73:in 
> `to_git_shell_argument'
>   /usr/bin/gitorious:61
>
>
> I've gone over the settings multiple times, and looked at the code but 
> cannot find what I am missing. 
> Any help would be greatly appreciated... but my googling has returned no 
> results with the same error code.
>

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to