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`? /var/www/gitorious/config/preinitializer.rb:18:in `rescue in <top (required)>' /var/www/gitorious/config/preinitializer.rb:13:in `<top (required)>' /var/www/gitorious/config/boot.rb:28:in `load' /var/www/gitorious/config/boot.rb:28:in `preinitialize' /var/www/gitorious/config/boot.rb:10:in `boot!' /var/www/gitorious/config/boot.rb:123:in `<top (required)>' /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /var/www/gitorious/Rakefile:4:in `<top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb: 25:in `load' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb: 25:in `load_rakefile' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb: 495:in `raw_load_rakefile' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb: 78:in `block in load_rakefile' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb: 129:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb: 77:in `load_rakefile' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb: 61:in `block in run' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb: 129:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb: 59:in `run' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/bin/rake:32:in `<top (required)>' /usr/local/bin/rake:19:in `load' /usr/local/bin/rake:19:in `<main>' git@li228-179:/var/www/gitorious$ ---------------------------------------- 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 [Fri, 07 Oct 2011 05:15:54 +0000] INFO: *** Chef 0.10.4 *** [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Setting the run_list to ["recipe[vim]", "recipe[custom_environment]", "recipe[ntpdate]", "recipe[smtp]", "recipe[gitorious]"] from JSON [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Run List is [recipe[vim], recipe[custom_environment], recipe[ntpdate], recipe[smtp], recipe[gitorious]] [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Run List expands to [vim, custom_environment, ntpdate, smtp, gitorious] [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Starting Chef Run for li228-179.members.linode.com [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Processing package[vim] action install (vim::default line 20) [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Processing cookbook_file[/etc/ vim/vimrc.local] action create (vim::default line 22) [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Processing ruby_block[Update editor alternatives to vim] action create (vim::default line 29) [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Processing package[bash- completion] action install (custom_environment::default line 1) [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Processing cookbook_file[/etc/ profile.d/bash-config.sh] action create (custom_environment::default line 3) [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Processing execute[ntpdate- debian] action nothing (ntpdate::default line 1) [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Processing package[ntpdate] action install (ntpdate::default line 2) [Fri, 07 Oct 2011 05:15:56 +0000] INFO: Processing package[exim4] action install (smtp::default line 1) [Fri, 07 Oct 2011 05:15:56 +0000] ERROR: package[exim4] (smtp::default line 1) has had an error [Fri, 07 Oct 2011 05:15:56 +0000] ERROR: package[exim4] (/root/chef- solo/cookbooks/smtp/recipes/default.rb:1:in `from_file') had an error: package[exim4] (smtp::default line 1) had an error: apt-get -q -y install exim4=4.72-1ubuntu1.3 returned 100, expected 0 /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/ command.rb:185:in `handle_command_failures' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/ command.rb:132:in `run_command' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/ command.rb:200:in `run_command_with_systems_locale' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/provider/ package/apt.rb:92:in `install_package' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/provider/ package.rb:60:in `action_install' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource.rb: 437:in `run_action' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb: 45:in `run_action' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb: 81:in `block (2 levels) in converge' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb: 81:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb: 81:in `block in converge' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/ resource_collection.rb:94:in `block in execute_each_resource' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/ resource_collection/stepable_iterator.rb:116:in `call' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/ resource_collection/stepable_iterator.rb:116:in `call_iterator_block' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/ resource_collection/stepable_iterator.rb:85:in `step' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/ resource_collection/stepable_iterator.rb:104:in `iterate' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/ resource_collection/stepable_iterator.rb:55:in `each_with_index' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/ resource_collection.rb:92:in `execute_each_resource' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb: 76:in `converge' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/client.rb: 312:in `converge' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/client.rb: 160:in `run' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/ solo.rb:192:in `block in run_application' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/ solo.rb:183:in `loop' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/ solo.rb:183:in `run_application' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/ application.rb:67:in `run' /usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.4/bin/chef-solo:25:in `<top (required)>' /usr/local/bin/chef-solo:19:in `load' /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 root@li228-179:~/chef-solo# ---------------------------------------- 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]
