Trying to get it running atm, but the dnssd gem is failing to build
with 'can't find rendezvous library'. From my recollection, there's
one cross-platform bonjour gem and dnssd isn't it, or something?
However, someone apparently has got this working, anyone know how? Is
there a fork of bananajour that depends on a different bonjour gem?
Ok except it doesn't work :/
This is my current state, http://www.ubuntu-pics.de/bild/16967/screenshot_003_gqDB9u.png
These git repos aren't clones of eachother, but they're both derived from a git-svn clone. The bit that concerns me is the 'no other bananas' bit on my version? Maybe dnssd isn't working after all?
Is there an easy way to test it through irb?
Interesting:
Tue 15:02:54 glen@swineflu ~
$ irb -rrubygems -rbananajour
>> b = Bananajour::Bonjour::BananajourBrowser.new
*** WARNING *** The program 'ruby1.8' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=ruby1.8>
=> #<Bananajour::Bonjour::BananajourBrowser:0x7fd1e3d70200 @browser=#<Bananajour::Bonjour::Browser:0x7fd1e3d70188 @mutex=#<Mutex:0x7fd1e3d70138>, @replies=[], @service="_bananajour._http._tcp">>
>> b.bananajours
=> []
>>
Any thoughts?
Yep.
$ ps fx | grep banana
28564 pts/3 S+ 0:00 | | \_ grep banana
15222 pts/3 Sl 0:14 /usr/bin/ruby1.8 /var/lib/gems/1.8/bin/bananajour
15220 pts/3 Sl 0:06 ruby /var/lib/gems/1.8/gems/toolmantim-bananajour-2.1.5/bin/../lib/bananajour/../../sinatra/app.rb -p 9331 -e production
13909 pts/3 S 0:00 git-daemon --base-path=/home/glen/.bananajour/repositories --export-all