toolmantim / bananajour
- Source
- Commits
- Network (17)
- Issues (4)
- Downloads (26)
- Wiki (2)
- Graphs
-
Branch:
master
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Local git repository hosting with a sexy web interface and bonjour discovery. It's like your own little adhoc, network-aware github!
-
Error starting bananajour on Snow Leopard
6 comments Created about 1 month ago by truempedHi,
I have MacPorts running on my SL system and installed ruby (1.8.7-p174) along with the rb_rubygems package. Installing bananajour worked like a charm (gem install bananajour, after I added the gemcutter repo). Then I have a version conflict with dnssd which I resolved by uninstalling all dnssd and reinstalling it (sudo gem uninstall dnssd && sudo gem install dnssd).
Now I get the following error when I start bananajour:
[BUG] cross-thread violation on rb_gc()
I am not a ruby developer but it looks like something is wrong with threading. But since others are using it I am missing something...???
Daniel
Comments
-
Put simply, bananajour-2.2.1 thinks the bonjour host name of my machine is "ninja.home.local", as demonstrated by the following generated HTML:
<script src="http://ninja.home.local:9331/webplay.json?callback=jsonp1255597876656&_=1255597876662"/>"ninja.home.local" is incorrect. In the OS X preferences the "Computer Name" is set to "ninja", thus the correct host name should be "ninja.local".
It should be noted that my router provides my mac with "ninja.home" as the host name, which i am guessing is what bananajour is picking up...
Comments
-
$ bananajour add /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- dnssd/flags (LoadError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from /Library/Ruby/Gems/1.8/gems/dnssd-1.0/lib/dnssd.rb:13 from /Library/Ruby/Gems/1.8/gems/toolmantim-bananajour-2.1.7/bin/../lib/bananajour/gem_dependencies.rb:32:in `require' from /Library/Ruby/Gems/1.8/gems/toolmantim-bananajour-2.1.7/bin/../lib/bananajour/gem_dependencies.rb:32:in `require_gem' from /Library/Ruby/Gems/1.8/gems/toolmantim-bananajour-2.1.7/bin/../lib/bananajour.rb:12 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from /Library/Ruby/Gems/1.8/gems/toolmantim-bananajour-2.1.7/bin/bananajour:4 from /usr/bin/bananajour:19:in `load' from /usr/bin/bananajour:19Comments
toolmantim
Thu Aug 06 17:15:42 -0700 2009
| link
Release 2.1.8. Revert to DNSSD 0.7.1 until 1.0 can get it's shit sorted out (closed by 1fe97b4)
-
It seems that json 1.1.2 doesn't install into ruby 1.9.1 but json 1.1.7 does, can we upgrade?
Comments
toolmantim
Wed Aug 05 00:14:09 -0700 2009
| link
Just pushed a new gem (2.1.6) with json 1.1.7 - give it a run and tell me how it goes
-
Doesn't work when project names have full-stops or underscores
2 comments Created 6 months ago by ismasanI created a Bananajour repo for my "hash_mapper" projects.
bananajour init # which name? [hash_mapper] git push banana master # Everything looks fineWhen I click on the repo link on the browser, the link has underscores removed from the repo name, which raises an Internal error because Grit can't find said repo.
Registering git://ismasan.config/hash_mapper.git Grit::NoSuchPathError - /Users/ismaelcelis/.bananajour/repositories/hashmapper.gitComments
toolmantim
Fri Jun 12 06:46:17 -0700 2009
| link
Remove incorrect use of html_friendly_name. Closed by 041e61f
toolmantim
Fri Jun 12 07:02:57 -0700 2009
| link
Just released 2.1.4 which fixes this, can use full-stops and underscores galore! Thanks Ismael.
-
uninitialized constant Thin::Server::Forwardable
1 comment Created 6 months ago by toolmantimAs reported by Ben Hoskins
> sudo gem install ~/Downloads/bananajour-2.1.gem Password: Successfully installed rack-1.0.0 Successfully installed sinatra-0.9.2 Successfully installed bananajour-2.1 3 gems installed [...] > bananajour * Started http://hat.local:9331/ * Started git://hat.local/ Registering http://hat.local:9331/ Registering git://hat.local/bananajour.git Registering git://hat.local/dukejour.git Registering git://hat.local/fish-configs.git Registering git://hat.local/hammock.git Registering git://hat.local/twetter.git == Sinatra/0.9.2 has taken the stage on 9331 for production with backup from Thin /opt/local/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/thin/server.rb:51: uninitialized constant Thin::Server::Forwardable (NameError) from /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/thin.rb:10:in `run' from /opt/local/lib/ruby/gems/1.8/gems/sinatra-0.9.2/lib/sinatra/base.rb:866:in `run!' from /opt/local/lib/ruby/gems/1.8/gems/sinatra-0.9.2/lib/sinatra/main.rb:34 from /opt/local/lib/ruby/gems/1.8/gems/bananajour-2.1/bin/../lib/bananajour/../../sinatra/app.rb:81Comments
toolmantim
Thu Jun 04 06:18:19 -0700 2009
| link
Require forwardable in an attempt to fix weird Thin issues. Hopefully closed by 1244b7a.
-
Fix up the design for Other Projects and Other Bananas
0 comments Created 6 months ago by toolmantimComments
-
Fix commit links, link commit from local index
0 comments Created 6 months ago by toolmantimComments
-
Switch registration mechanism to a background thread of the sinatra app
0 comments Created 7 months ago by toolmantim- runs in the background starting and stopping mdns rego servers for each repo
- for stopping use DNSSD::Service#stop
Comments
-
Switch bonjour discovery to a background thread of the sinatra app
0 comments Created 7 months ago by toolmantimComments
-
Get name and email from git config rather than our own yaml
0 comments Created 7 months ago by toolmantimComments





It should work with straight SL Ruby, and I know people are running it with rvm and macports.
Some googling found:
http://blog.ubrio.us/nix/osx-rubygems-and-cross-thread-violations-in-rb_gc/
Try that and see if it helps?
any luck?
Sorry, delay...
The cross-thread violation thing is gone since I have completely removed the gems and reinstalled everything using the macports gem.
Now I get a different error though :(
Any ideas?
[FIX] Depend on thin (closed by 9a523c2)
Have just updated bananajour to include the thin dependency.
should fix it.
Yes! Works perfectly now! Thanks so much!!
Daniel