Hi,
Following the steps on the site I get the following error (trimmed it a bit down):
====================================================================
TASK: [gitorious | install gems] ***
failed: [localhost] => {"changed": true, "cmd": ["gitoriousctl", "exec", "bundle", "install", "--jobs", "4", "--retry", "3", "--deployment", "--without", "development", "test", "postgres"], "delta": "0:02:26.922803", "end": "2015-02-13 13:59:01.187053", "rc": 5, "start": "2015-02-13 13:56:34.264250", "warnings": []}
stderr: /opt/rubies/ruby-2.0.0-p576/lib/ruby/2.0.0/rubygems/installer.rb:688: warning: conflicting chdir during another chdir block
/opt/rubies/ruby-2.0.0-p576/lib/ruby/gems/2.0.0/gems/bundler-1.8.0/lib/bundler/shared_helpers.rb:60: warning: conflicting chdir during another chdir block
stdout: Fetching source index from
https://rubygems.org/
Using rake 10.4.1
Using RedCloth 4.2.9
Using i18n 0.6.11
...
Using httparty 0.11.0
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/rubies/ruby-2.0.0-p576/bin/ruby extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... yes
checking for xmlParseDoc() in -lxml2... yes
checking for xsltParseStylesheetDoc() in -lxslt... yes
checking for exsltFuncRegister() in -lexslt... yes
checking for xmlHasFeature()... yes
checking for xmlFirstElementChild()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetValidStructuredErrors()... yes
checking for xmlSchemaSetValidStructuredErrors()... yes
checking for xmlSchemaSetParserStructuredErrors()... yes
creating Makefile
Gem files will remain installed in /var/www/gitorious/app/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.5.11 for inspection.
Results logged to /var/www/gitorious/app/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.5.11/ext/nokogiri/gem_make.out
Installing thin 1.6.1
Installing proxymachine 1.2.4
Installing wikicloth 0.8.0
Installing pygments.rb 0.5.2
Gem files will remain installed in /var/www/gitorious/app/vendor/bundle/ruby/2.0.0/gems/yajl-ruby-1.1.0 for inspection.
Results logged to /var/www/gitorious/app/vendor/bundle/ruby/2.0.0/gems/yajl-ruby-1.1.0/ext/yajl/gem_make.out
Using activemodel 3.2.21
Using climate_control 0.0.3
Using pundit 0.2.3
Using skylight 0.4.3
Using resque-cleaner 0.3.0
Using resque-job-stats 0.3.0
...
Installing skylight 0.4.3
An error occurred while installing nokogiri (1.5.11), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.5.11'` succeeds before bundling.
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/install.retry
localhost : ok=51 changed=4 unreachable=0 failed=1
====================================================================
Running the following:
# /opt/rubies/ruby-2.0.0-p576/bin/gem install nokogiri -v '1.5.11'
...
installing default nokogiri libraries
/opt/rubies/ruby-2.0.0-p576/bin/nokogiri
Successfully installed nokogiri-1.5.11
1 gem installed
====================================================================
And then re-running install.sh fails again at the same place as above...
Any help will be appreciated.
PS: is there any wat to get verbose output on the original install.sh script?