Hi Thomas,
Thanks for the response. I am using ruby-1.9.2-p320, and I also checked that it 
has daemon gem installed in the gems folder. Also the gem file has an entry of 
the daemon gem 1.5.5.  Please let me know if there is anything else I need to 
do.

Thanks and Regards
Mahima Agarwal
Subject Matter Expert, Open Source Capability
___________________________

India - IDC I Accenture, Mumbai (M1), Vikhroli(E), India
Ph: +91 9920436717 I Off: 022 4044 4846
Email: [email protected]
___________________________

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Thomas Kjeldahl Nilsson
Sent: Saturday, June 30, 2012 3:20 PM
To: [email protected]
Subject: Re: [gitorious] Unable to Start the git-daemon server

Hello Mahima,

a few things to consider:

- which Ruby version are you running? The recipe at cjohansen.no is based on 
ruby enterprise, while you use MRI 1.9.2. This is not necessarily a problem but 
when you are just starting out, make sure you know what you are doing if you 
stray from the standard instructions.

- It looks like it fails because it cannot find the damons gem/library in the 
load path. That dependency is specified in the Gemfile and should be available 
after a "bundle install" (also referenced in Christians
recipe)  If this is still a problem, you'll have to look more closely into 
which version of ruby is being used when running the git-damon script and, 
which libraries/gems are in the load path of the current ruby runtime.

cheers,
Thomas


On 06/29/2012 04:41 PM, mahima wrote:
> Hi,
> While setting up gitorious on your own server, I am getting error
> while running the git-daemon script. Please find below the error
> trace:
>
> /var/www/git.myserver.com/gitorious$ sudo env RAILS_ENV=production /
> etc/init.d/git-daemon start [sudo] password for mahima:
> Starting git-daemon:
> /home/mahima/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/
> site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such
> file to load -- daemons (LoadError)
>       from /home/mahima/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/
> 1.9.1/rubygems/custom_require.rb:36:in `require'
>       from /var/www/git.myserver.com/gitorious/script/git-daemon:4:in
> `<main>'
> failure
>
> Please help me with the error. I am following the article of
> cjohansen.no at
> http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server
>
> Thanks
> Mahima
>


--
best regards,
Thomas Kjeldahl Nilsson
http://gitorious.com

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


________________________________
Subject to local law, communications with Accenture and its affiliates 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

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

Reply via email to