On Wed, Jul 29, 2009 at 2:02 PM, David Matuszek<[email protected]> wrote:
> The only way I know to run Shoes applications is by dragging code onto
> the Shoes app (Mac OS X). How can I run a Shoes application from the
> command line or from my favorite IDE?
>
> BTW, as far as I've gotten (not very), I _really_ like this GUI.

There is a shoes binary created when you build shoes. Adjust your
shell to be aware of it, and you should be good to go. You could of
course just invoke it with a full path to the binary, but that's no
fun.

I'm on OS X, so my configuration is something like this:

# from ~/.bash_profile
export SHOES_PATH="~/p/shoes/Shoes.app/Contents/MacOS"
...some other stuff...
export 
PATH="~/bin/:${MY_BIN_PROJ_PATH}:/usr/local/bin:/usr/local/sbin:${MYSQL_PATH}:${SHOES_PATH}:${PATH}:${BOOST_PATH}:/usr/bin"

Then, I can say:

$ shoes foo.rb

-- 
Seth Thomas Rasmussen
http://greatseth.com

Reply via email to