Hi Ciaran

I can execute `shoes MythRemote.rb` successfully when the require string is "require './MythFrontend.rb'" ( you see? I added "./" to the path, specifying program to search MythFrontend.rb in the current directory )

Ciaran wrote:
Hello all,
First post, apologies if I'm short of the list etiquette, but the irc channel leads me to believe I'll be ok. I'm playing around with 'Shoes' on Windows (0.r395) trying to write a quick'n'dirty remote control for 'MythTv' (a linux based PVR). My question is somewhat more basic, with Shoes Apps is it possible to 'require' as one would in other ruby apps, for example please see the attached ruby files where one is a Shoes app that 'requires' the other one, I just want to logically seperate my 'API' from my GUI (Shoes), but appear un-able to on Windows.

The attached code complains about: ''<path to shoes>rubygems/custom_require.rb:27 :in 'gem_original_require':no such fileto load -- MythFrontend.rb"
when I run it up! :(

I'm sure its something stupid I'm doing as it must be a pretty normal thing to do to seperate code out like this (I can make the same code work if its all in the same file, but that goes against my nature which is to do as little as possible in the same files <g> )

Any help appreciated ! :)

Take Care y'all!
--
- Ciaran

Reply via email to