I'm not saying I know anything or understand Shoes/Gems interactions
but wouldn't the 'other' scripts just need 'require rubygems' and then
'require foo'?

Works for me but I install gems in Shoes from the command line 'shoes -g
install xxxxx'. If you're running shoes from a not 'installed' directory
(a git pull/clone), you have to reinstall the gems after a each git
refresh. 

--Cecil

On Thu, 2008-07-24 at 21:34 -0800, Mike M wrote:
> Maybe I've been asleep on the list (wouldn't be the first time).
> 
> Should I have to put this:
> 
> Shoes.setup do
>       gem 'foo'
> end
> 
> require 'foo'
> 
> 
> every time I run a Shoes script?  According to simple-rubygems, foo  
> is loaded, but requiring it without having it setup fails.  Is that  
> the correct way to do it?
> 
> Thanks.
> 
> Mike

Reply via email to