Rugged githubrepo unsupported URL Protocol
gives a
Hook push_to_remote (#<GithubRepo:0x0000000001346b00>) failed (#<Rugged::NetworkError: unsupported URL protocol>) for event :post_store
config is
hooks:
push_to_remote:
type: githubrepo
events: [post_store]
remote_repo: git@<ip>:oxidized/<repo>.git
publickey: /root/.ssh/id_rsa.pub
privatekey: /root/.ssh/id_rsa
rugged has ssh installed, i thought that was the error git push works ok ruby 2.0.0p648 (2015-12-16) [x86_64-linux] oxidized (0.22.0) rugged (0.27.1)
It seems to be the old issue in #1038 , reinstalling rugged with ssh and reinstalling oxidized fixes this
This also happens in 0.30.0, i dont understand why.
I had the same problem, here's how I fixed it:
- Uninstall Oxidized
-
gem install rugged -v 1.5.0.1 -- --with-ssh - Reinstall Oxidized via building from Git
- Before doing
rake install, edit the fileoxidized gemspec- change rugged requirement to 1.5 - Continue with the install
METOO :-) , I resolved only sudo gem install rugged -- --with-ssh on Ubuntu 24.04.
oxidized 0.30.1-110-ga32fe96
ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [x86_64-linux-gnu]
rugged (1.7.2)
This issue is stale because it has been open 90 days with no activity.
I've added a warning in 41f59ac25d4b7dec79216d79b90bd64899d68e39, so this issue can be closed.