Of course there is the old standby:

#!/usr/bin/env shoes

Have fun,
Roy

On Jul 29, 2009, at 5:14 PM, David Matuszek wrote:

Thanks! I guess part of my problem was just not being able to find the shoes application. I like aliases myself, so I just added to my .aliases file
(for tcsh) the line
  alias shoes /Applications/Shoes.app/Contents/MacOS/shoes
and that does the same thing for me.

--Dave Matuszek

On Jul 29, 2009, at 2:55 PM, Seth Thomas Rasmussen wrote:

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