I tried to implement fetch and this exception was raised:
Rugged::NetworkError: This transport isn't implemented. Sorry
I am able to retrieve a remote instance:
remote = Rugged::Remote.lookup(repo, remote_name)
remote.connect(:fetch)
# => Rugged::NetworkError: This transport isn't implemented. Sorry
I retrieved the development
version of the gem as directed in the README:
gem 'rugged', git: 'git://github.com/libgit2/rugged.git', branch: 'development', submodules: true
How do I gain access to the connect method?
libgit2 uses openssl for HTTPS and libssh2 for ssh. You need the development packages for them in order for the embedded libgit2 to build with support for those transports.