{"action":"opened","issue":{"url":"https://api.github.com/repos/debops/ansible-gitlab/issues/12","labels_url":"https://api.github.com/repos/debops/ansible-gitlab/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/debops/ansible-gitlab/issues/12/comments","events_url":"https://api.github.com/repos/debops/ansible-gitlab/issues/12/events","html_url":"https://github.com/debops/ansible-gitlab/issues/12","id":64303121,"number":12,"title":"\"Update Ruby gems\" fails on Debian Jessie","user":{"login":"scibi","id":703860,"avatar_url":"https://avatars.githubusercontent.com/u/703860?v=3","gravatar_id":"","url":"https://api.github.com/users/scibi","html_url":"https://github.com/scibi","followers_url":"https://api.github.com/users/scibi/followers","following_url":"https://api.github.com/users/scibi/following{/other_user}","gists_url":"https://api.github.com/users/scibi/gists{/gist_id}","starred_url":"https://api.github.com/users/scibi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scibi/subscriptions","organizations_url":"https://api.github.com/users/scibi/orgs","repos_url":"https://api.github.com/users/scibi/repos","events_url":"https://api.github.com/users/scibi/events{/privacy}","received_events_url":"https://api.github.com/users/scibi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T15:47:11Z","updated_at":"2015-03-25T15:47:11Z","closed_at":null,"body":"I'm trying to install GitLab on fresh Jessie installation. It fails because of lack of `pkg-config`:\r\n\r\n```\r\nTASK: [debops.gitlab | Update Ruby gems] ************************************** \r\nfailed: [git] => {\"changed\": true, \"cmd\": \"bundle install --deployment --without development test aws postgres\", \"delta\": \"0:03:46.467941\", \"end\": \"2015-03-25 15:24:36.542570\", \"rc\": 5, \"start\": \"2015-03-25 15:20:50.074629\", \"warnings\": []}\r\nstdout: Fetching gem metadata from https://rubygems.org/.......\r\nFetching version metadata from https://rubygems.org/...\r\nFetching dependency metadata from https://rubygems.org/..\r\nInstalling rake 10.3.2\r\nInstalling RedCloth 4.2.9\r\nInstalling ace-rails-ap 2.0.1\r\nInstalling i18n 0.7.0\r\nInstalling json 1.8.2\r\nInstalling minitest 5.3.5\r\nInstalling thread_safe 0.3.4\r\nInstalling tzinfo 1.2.2\r\nInstalling activesupport 4.1.1\r\nInstalling builder 3.2.2\r\nInstalling erubis 2.7.0\r\nInstalling actionview 4.1.1\r\nInstalling rack 1.5.2\r\nInstalling rack-test 0.6.2\r\nInstalling actionpack 4.1.1\r\nInstalling mime-types 1.25.1\r\nInstalling polyglot 0.3.4\r\nInstalling treetop 1.4.15\r\nInstalling mail 2.5.4\r\nInstalling actionmailer 4.1.1\r\nInstalling activemodel 4.1.1\r\nInstalling arel 5.0.1.20140414130214\r\nInstalling activerecord 4.1.1\r\nInstalling rails-observers 0.1.2\r\nInstalling activeresource 4.0.0\r\nUsing bundler 1.9.1\r\nInstalling thor 0.19.1\r\nInstalling railties 4.1.1\r\nInstalling hike 1.2.3\r\nInstalling multi_json 1.10.1\r\nInstalling tilt 1.4.1\r\nInstalling sprockets 2.11.0\r\nInstalling sprockets-rails 2.1.3\r\nInstalling rails 4.1.1\r\nInstalling acts-as-taggable-on 2.4.1\r\nInstalling addressable 2.3.5\r\nInstalling asana 0.0.6\r\nInstalling asciidoctor 0.1.4\r\nInstalling attr_required 1.0.0\r\nInstalling descendants_tracker 0.0.3\r\nInstalling ice_nine 0.10.0\r\nInstalling axiom-types 0.0.5\r\nInstalling bcrypt 3.1.7\r\nInstalling sass 3.2.19\r\nInstalling bootstrap-sass 3.0.3.0\r\nInstalling browser 0.7.2\r\nInstalling cal-heatmap-rails 0.0.1\r\nInstalling carrierwave 0.9.0\r\nInstalling hitimes 1.2.2\r\nInstalling timers 4.0.1\r\nInstalling celluloid 0.16.0\r\nInstalling charlock_holmes 0.6.9.4\r\nInstalling coercible 1.0.0\r\nInstalling coffee-script-source 1.6.3\r\nInstalling execjs 2.0.2\r\nInstalling coffee-script 2.2.0\r\nInstalling coffee-rails 4.0.1\r\nInstalling colored 1.2\r\nInstalling connection_pool 2.1.0\r\nInstalling creole 0.3.8\r\nInstalling d3_rails 3.1.10\r\nInstalling default_value_for 3.0.0\r\nInstalling orm_adapter 0.5.0\r\nInstalling warden 1.2.3\r\nInstalling devise 3.2.4\r\nInstalling devise-async 0.9.0\r\nInstalling diff-lcs 1.2.5\r\nInstalling diffy 3.0.3\r\nInstalling doorkeeper 2.1.0\r\nInstalling dotenv 0.9.0\r\nInstalling dropzonejs-rails 0.4.14\r\nInstalling emoji 1.0.1\r\nInstalling enumerize 0.7.0\r\nInstalling equalizer 0.0.8\r\nInstalling escape_utils 0.2.4\r\nInstalling eventmachine 1.0.4\r\nInstalling excon 0.32.1\r\nInstalling expression_parser 0.9.0\r\nInstalling multipart-post 1.2.0\r\nInstalling faraday 0.8.9\r\nInstalling faraday_middleware 0.9.0\r\nInstalling formatador 0.2.4\r\nInstalling net-ssh 2.8.0\r\nInstalling net-scp 1.1.2\r\nInstalling fog-core 1.21.1\r\nInstalling fog-json 1.0.0\r\nInstalling fog-brightbox 0.0.1\r\nInstalling mini_portile 0.6.1\r\nInstalling nokogiri 1.6.5\r\nInstalling fog 1.21.0\r\nInstalling font-awesome-rails 4.2.0.0\r\nInstalling foreman 0.63.0\r\n\r\nGem::Ext::BuildError: ERROR: Failed to build gem native extension.\r\n\r\n    /usr/bin/ruby2.1 extconf.rb \r\nchecking for cmake... yes\r\nchecking for gmake... no\r\nchecking for make... yes\r\nchecking for pkg-config... no\r\nERROR: pkg-config is required to build Rugged.\r\n*** extconf.rb failed ***\r\nCould not create Makefile due to some reason, probably lack of necessary\r\nlibraries and/or headers.  Check the mkmf.log file for more details.  You may\r\nneed configuration options.\r\n\r\nProvided configuration options:\r\n\t--with-opt-dir\r\n\t--without-opt-dir\r\n\t--with-opt-include\r\n\t--without-opt-include=${opt-dir}/include\r\n\t--with-opt-lib\r\n\t--without-opt-lib=${opt-dir}/lib\r\n\t--with-make-prog\r\n\t--without-make-prog\r\n\t--srcdir=.\r\n\t--curdir\r\n\t--ruby=/usr/bin/ruby2.1\r\n\r\nextconf failed, exit code 1\r\n\r\nGem files will remain installed in /var/local/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rugged-0.21.2 for inspection.\r\nResults logged to /var/local/git/gitlab/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0/rugged-0.21.2/gem_make.out\r\nAn error occurred while installing rugged (0.21.2), and Bundler cannot continue.\r\nMake sure that `gem install rugged -v '0.21.2'` succeeds before bundling.\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n```\r\n\r\n"}}