On Fri, Feb 15, 2008 at 03:37:11PM -0600, Clay McCoy wrote:
> I am trying to use shoes for a small gui, but have run into two
> problems. First I want to use the git-ruby bindings, but am having
> trouble using it in Shoes. I have checked out the files, and copied
> them to ruby/lib, but still no luck. Second, I can't find information
> on how to package up my shoes script so that people could run it
> without having to install Ruby, Shoes and git-ruby.
What error do you get with the git bindings? Just that it couldn't
require 'git'?
As far as installation, Shoes comes with Ruby already. So your
users only need to install Shoes.
To package your app, put your script and the git ruby bindings in
the same directory.
gitter/
gitter/gitter.rb <- your script
gitter/git.rb <- the git binding
gitter/git/ <- its dependancies
..
Then make a .shy from it:
shoes --shy gitter
You'll need to use the latest Shoes from svn. Or you can use the
code here:
<http://code.whytheluckystiff.net/list/shoes/2007/08/15/1101-re-compiling-packaging-shoes.html>
_why