For anybody who might be intrested on how to do this on windows.
I couldn't find it in manuals and such, so I just followed these steps:

1. make a shortcut in your "WINDOWS"-folder (normally: "C:\WINDOWS"), call it shoes (it should do that automatically).
2. now go to Start, Run.., typ:
shoes "<<your .rb file>>"

also works in CMD..
I use it a lot, because i am to lazy to use my mouse for control on my pc... :)

Hope anyone will have benefit of this..
If not, just ignore me..


----- Original Message ----- From: "Seth Thomas Rasmussen" <[email protected]>
To: <[email protected]>
Cc: "David Matuszek" <[email protected]>
Sent: Wednesday, July 29, 2009 8:55 PM
Subject: Re: Run Shoes from command line?


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


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.35/2270 - Release Date: 07/29/09 06:12:00

Reply via email to