More Ruby/Git Greatness
I’m really excited to see how well the Ruby (on Rails) community have received Git. A big reason is probably the awesome service GitHub but there are several other goodies coming out from the Rubyists.
Yesterday I blogged about the GitCasts and today I learned about Gitjour. It’s a tool to announce and make available repositories over Bonjour so that you can list and clone repositories available on the local network.
To serve a repository simply call:
$ gitjour serve Registered gringo. Starting service.
You can then list and clone it with:
$ gitjour list Gathering for up to 5 seconds... === gringo on Tabasco.local. === gitjour clone gringo
[...] 1 Giugno 2008 a 2:49 pm (Italian, planet-debian-it) Tags: autodiscovery, bonjour, git, ruby, screencast, video-tutorial, zeroconf Sempre per restare sul tema git dell’ultimo post, scopro due interessanti servizi tramite le pagine del blog di Mikael Hallendal. [...]
It’s what i wanted for a while!
Cannot build dnssd-0.6.0 gem on Ubuntu. Is it possible?
/usr/bin/ruby1.8 extconf.rb install gitjour
checking for DNSServiceRefSockFD() in -lmdns… no
can’t find rendezvous library
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I haven’t tried it on Ubuntu but I suspect that it might be built against Mac OS X bonjour for now. I only installed the gem with ‘gem install gitjour’. If it doesn’t support Ubuntu I’d guess that someone will add support for it pretty soon.
I’ll try to do it with avahi dbus without APL licensed trash.