No, I don't think you are missing anything, it works for me on OSX (Tiger) with Shoes r1091, I get bin/app_name.rb as the default choice among many. What platform are you running on? I assume that you are choosing the 'shoes_template' directory in the packager?

Also, I'll admit that I didn't try packaging up the template. When I did, I noticed that when an extra '/' is included in any pathname to be require'd some of the requires will fail. It works fine when I 'open -a Shoes bin/app_name.rb' but will fail when the template is packaged.

It's a minor thing that I will fix this evening and post a fixed version.

DZ

On Dec 2, 2008, at 10:08 AM, Andre Paquet wrote:

Thanks indeed, it's a great start.

On a related topic, I tried to package the sample app, but the launch script listbox doesn't seem to work when selecting a folder to be packaged. It doesn't contain anything. Is it broken in the r1091 build? Or is there something I'm
missing?

Thanks,

AP

 peter retief <[EMAIL PROTECTED]>:

Thanks


2008/11/29 Daniel Zepeda <[EMAIL PROTECTED]>:
Hi Folks,

I've blogged about a little Shoes template that I'd like to share with
others.

From the blog:

I've been using Shoes for the GUI portions of some small side projects I've been writing. In the process I've written a small template/ framework for starting off new Shoes projects that might be of help to others, so I'd
like
to present it here.

Features

   * Support for ActiveRecord using SQLite3, including -
o Automatic creation of databases in an automatically created data
directory (auto-database creation courtesy SQLite3)
         o Automatic per-environment migrations
o Automatic per-environment loading of fixtures on empty databases
   * A "Tab Bar" which gives the ability to create an MDI-like Shoes
application.
* Automatic loading of classes placed in the 'lib' and 'lib/ shoes'
directory.
   * Automatic loading of libraries in the '/vendor' directory
* Automatic naming of application based on the filename found in the
'/bin' directory
* Automatic generation of a variable representing the application root
directory, accessible through the 'Environment' module
   * Automatic creation of an application data directory, accessible
through
the 'Environment' module
* A console script to allow you to play with your (non-Shoes) classes
interactively
   * Support for RSpec testing of non-Shoes classes
   * Rake tasks for running Shoes, RSpec examples and resetting the
database.

Come check it out and comment at:

http://daniel.zepeda.ws/blog/2008/11/27/putting-your-shoes-on- faster/

Thanks!

DZ





Reply via email to