{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/rugged/issues/366","labels_url":"https://api.github.com/repos/libgit2/rugged/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/rugged/issues/366/comments","events_url":"https://api.github.com/repos/libgit2/rugged/issues/366/events","html_url":"https://github.com/libgit2/rugged/issues/366","id":32838804,"number":366,"title":"Rugged::Repository.clone_at over ssh fails","user":{"login":"albertsun","id":382862,"avatar_url":"https://avatars.githubusercontent.com/u/382862?v=3","gravatar_id":"","url":"https://api.github.com/users/albertsun","html_url":"https://github.com/albertsun","followers_url":"https://api.github.com/users/albertsun/followers","following_url":"https://api.github.com/users/albertsun/following{/other_user}","gists_url":"https://api.github.com/users/albertsun/gists{/gist_id}","starred_url":"https://api.github.com/users/albertsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertsun/subscriptions","organizations_url":"https://api.github.com/users/albertsun/orgs","repos_url":"https://api.github.com/users/albertsun/repos","events_url":"https://api.github.com/users/albertsun/events{/privacy}","received_events_url":"https://api.github.com/users/albertsun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-05-05T19:46:55Z","updated_at":"2015-03-13T17:27:23Z","closed_at":"2014-05-09T15:56:24Z","body":"    /opt/ruby/rubies/ruby-2.0.0-p247/bin/ruby: symbol lookup error: /mnt/apps/capital_git/shared/bundle/ruby/2.0.0/bundler/gems/rugged-de19d5fb25fc/lib/rugged/rugged.so: undefined symbol: libssh2_session_init_ex\r\n\r\nWith the latest update of rugged, I'm now getting the above error from clone_at when using ssh credentials."},"comment":{"url":"https://api.github.com/repos/libgit2/rugged/issues/comments/79160795","html_url":"https://github.com/libgit2/rugged/issues/366#issuecomment-79160795","issue_url":"https://api.github.com/repos/libgit2/rugged/issues/366","id":79160795,"user":{"login":"n-rodriguez","id":3433835,"avatar_url":"https://avatars.githubusercontent.com/u/3433835?v=3","gravatar_id":"","url":"https://api.github.com/users/n-rodriguez","html_url":"https://github.com/n-rodriguez","followers_url":"https://api.github.com/users/n-rodriguez/followers","following_url":"https://api.github.com/users/n-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/n-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/n-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/n-rodriguez/orgs","repos_url":"https://api.github.com/users/n-rodriguez/repos","events_url":"https://api.github.com/users/n-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/n-rodriguez/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T17:27:23Z","updated_at":"2015-03-13T17:27:23Z","body":"This is the original command to install rugged (and the output) :\r\n\r\n```\r\nbitnami@redmine:~/apps/redmine/htdocs$ bundle install --without development test postgresql sqlite --deployment\r\nYour Gemfile lists the gem redcarpet (~> 3.1.2) more than once.\r\nYou should probably keep only one of them.\r\nWhile it's not a problem now, it could cause errors if you change the version of just one of them later.\r\nFetching gem metadata from https://rubygems.org/.......\r\nUsing rake 10.4.2\r\n...\r\nGem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.\r\n\r\n    /opt/bitnami/ruby/bin/ruby extconf.rb --use-system-libraries\r\nchecking for cmake... yes\r\nchecking for gmake... no\r\nchecking for make... yes\r\nchecking for pkg-config... yes\r\nBuilding Rugged using system libraries.\r\nlibgit2 version is not compatible\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=/opt/bitnami/ruby/bin/ruby\r\n\t--use-system-libraries\r\n\t--with-git2-dir\r\n\t--without-git2-dir\r\n\t--with-git2-include\r\n\t--without-git2-include=${git2-dir}/include\r\n\t--with-git2-lib\r\n\t--without-git2-lib=${git2-dir}/\r\n\t--with-libgit2-config\r\n\t--without-libgit2-config\r\n\t--with-pkg-config\r\n\t--without-pkg-config\r\n\r\n\r\nGem files will remain installed in /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.4 for inspection.\r\nResults logged to /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.4/ext/rugged/gem_make.out\r\nAn error occurred while installing rugged (0.21.4), and Bundler cannot continue.\r\nMake sure that `gem install rugged -v '0.21.4'` succeeds before bundling.\r\n```\r\n\r\n"}}