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. <superpelican12@gmail.com>wrote:
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?
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.
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 ( http://rubygems.org/gems/shoesgem\) ?
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?
ashbb,
yeah, sorry, i use "require 'green_shoes' " usually 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 )
p.s. i got an error msg so if the list gets this twice then u know why :-/
···
On Sun, Apr 3, 2011 at 12:47 AM, ashbb <ashbbb@gmail.com> wrote:
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 ( http://rubygems.org/gems/shoesgem\) ?
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?