How to make stand a lone Shoes apps (with require 'shoes')

Hello everyone,

I’m working in Netbeans IDE 6.9 and tried the Shoes graphics toolkit
(shoesrb.org) in Hackety Hack (hackety-hack.com). I also installed Shoes
3 and tried my Shoes apps I written in Hackety Hack they worked. But now
I want to make stand alone apps that I can run from a executable. I
tried to use the Ruby function "require ‘shoes3’. And placed the shoes3
executable (shell script, .sh) in the same directory as the Ruby script.
But Netbeans gives a error that it can’t find shoes. And so all shoes’
commands (shoes.app, alert) are not regnonized. Does someone also know a
way to make a .deb executable of a ruby/shoes app?

hey, i’m pretty sure you just need " require ‘shoes’ " not shoes3…
at
least that works for me. as far as stand-alone executables, i dont
know.
sorry :-/ (i think there is a way in shoes, by making a *.app thing,
i’m
just not sure how that works)

hex

On Sat, Apr 2, 2011 at 12:14 PM, Superpelican X.

Hi Hex,

i’m pretty sure you just need " require ‘shoes’ " not shoes3…
at least that works for me.
Oh, really?
If you are using Green Shoes, require 'green_shoes' is right.
But if require 'shoes' works for you, are you using shoesgem (
shoesgem | RubyGems.org | your community gem host) ?

Hi Superpelican,

I want to make stand alone apps that I can run from a executable.
I tried to use the Ruby function "require ‘shoes3’. And placed
the shoes3 executable (shell script, .sh) in the same directory
as the Ruby script.
Umm,…
What is “the shoes3 executable”? Is that a shell script file you
wrote and named “shoes3.sh”? What is your platform? Linux?

Or, “the shoes3 executable” is “shoes3.run.sh” ?

http://github.com/downloads/shoes/shoes/shoes3.run.sh

If so, that is just an installer.

I’m not well-versed in Linux. So, my advice is to post your problem
into Shoes ML (http://shoes.heroku.com/current-progress).

ashbb

Yes, my platform is Linux, Xubuntu Linux 10.10 on an Asus Eee PC 900
(Win XP
edition). And yes with ‘the executable’ I mean ‘shoes3.run.sh’. But it
doesn’t act like a installer, for me it’s just a kind of
‘shortcut’/applicationlauncher. And I already tried “require ‘shoes’”
but I also get the error.

@.serialhex also in to microncontrollers? :wink: (.hex)

Hi hex,

(and you keep getting it wrong, it’s hex not Hex, Mr. Ashbb :stuck_out_tongue: )
Oh, sorry. I don’t understand English well. xx-P

p.s. i got an error msg
In trouble with Shoes?
If so, please post your problem into Shoes ML. :wink:

ashbb

Hi Superpelican,

I confirmed the following with ubuntu on VirtualBox on Windows 7 laptop.


ashbb@ashbb-laptop:~/tmp$ pwd
/home/ashbb/tmp

ashbb@ashbb-laptop:~/tmp$ ls
shoes3.run.sh test.rb

ashbb@ashbb-laptop:~/tmp$ cat test.rb
Shoes.app{para ‘hello’}

ashbb@ashbb-laptop:~/tmp$ ./shoes3.run.sh /home/ashbb/tmp/test.rb
Verifying archive integrity… All good.
Uncompressing Shoes…

ashbb,
yeah, sorry, i use "require ‘green_shoes’ " usually :stuck_out_tongue: but for normal
(read: red) shoes i think it’s " require ‘shoes’ "
hex

(and you keep getting it wrong, it’s hex not Hex, Mr. Ashbb :stuck_out_tongue: )

p.s. i got an error msg so if the list gets this twice then u know why
:-/