My spidey senses tell me that shoes is changing the working directory to it's own executables directory. Thus:
"./adam.rb" fails because adam.rb is in your directory, but not in shoes' book.rb fails because it calls out to some relative path for book.yaml, also not found relative to shoes' bin folder. This is just a theory mind you, but if you could help me test the hypothesis that would be grand. :) Thanks - - Jesse On Wed, Feb 27, 2008 at 11:24 PM, Adam Beguelin <[EMAIL PROTECTED]> wrote: > > Ah, yes, the full path to the .rb file works. Thanks for the tip. > % shoes ~/code/shoes/adam.rb > > Now to stop it I have to ^z and "kill -9 %1". > > The book.rb sample fails straight away every time. Should I file a bug > somewhere? > > I was hoping to start programming lessons with my daughter using Shoes, we > got our copy of "Nobody Knows Shoes" in the mail yesterday. > > Should I try building a newer version if I want more stability on the Mac? > > Adam > > Check out my blogs: > http://saigon.beguelin.com > http://www.beguelin.com > > > > > On Feb 28, 2008, at 10:37 AM, William Ramirez wrote: > > I believe it will work if you provide the full path to the file. > > On Wed, Feb 27, 2008 at 10:18 PM, Mike M <[EMAIL PROTECTED]> wrote: > > > On 2/27/08, Adam Beguelin <[EMAIL PROTECTED]> wrote: > > > > > > Works fine if I just double click Shoes.app and select adamb.rb. > > > > > > Ideas? > > > > That's how it works on OS X, from my experience. Some older versions > > work from the command line, but that isn't the best way to go. > > > > Mike > > > > >
