With regards to your first try, you should run "bundle" inside your Gitorious clone directory, before running the migrations.

With regards to my recipe, it seems something was wrong when the recipe was trying to run some kind of "apt-get install exim4". You can try running it again, if this is a temporary network problem or you can try to manually install exim4 and see if you can figure out why it is not been installed. Anyway, Exim is used as a SMTP relay server. If you don't want to use Exim, you can install Gitorious anyway, just by removing "recipe[smtp]" from your run_list in /root/chef-solo/node.json.

Good luck!

Rodrigo.

Em 07-10-2011 02:25, Steven Mak escreveu:
Hi,

I have been trying to install Gitorious on a ubuntu 10.10 box. I have
to say that the installation is overly complicated with over 20
steps.... I gave up because I can't get thru step 19

http://www.silly-science.co.uk/2010/12/12/installing-gitorious-on-ubuntu-10-04-howto/

when I do rake --trace db:create, it says:

git@li228-179:/var/www/gitorious$ rake --trace db:create
rake aborted!
Bundler couldn't find some gems. Did you run `bundle install`?
...
----------------------------------------

I really have no clue... I want to give up... and I discovered a
simpler installation with chef-solo of Gitorious Cookbook:

https://github.com/rosenfeld/gitorious-cookbooks

But then it failed again when I do chef-solo:

root@li228-179:~/chef-solo# chef-solo
/usr/local/bin/chef-solo:19:in `<main>'
[Fri, 07 Oct 2011 05:15:56 +0000] ERROR: Running exception handlers
[Fri, 07 Oct 2011 05:15:56 +0000] ERROR: Exception handlers complete
[Fri, 07 Oct 2011 05:15:56 +0000] FATAL: Stacktrace dumped to /root/
chef-solo/chef-stacktrace.out
[Fri, 07 Oct 2011 05:15:56 +0000] FATAL: Chef::Exceptions::Exec:
package[exim4] (smtp::default line 1) had an error: apt-get -q -y
install exim4=4.72-1ubuntu1.3 returned 100, expected 0

----------------------------------------

I don't know what to do now... any advice? thanks...

or do anyone know of any alternative which is much easier to install
than Gitorious?

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

Reply via email to