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]

Reply via email to