Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2156 > unrolled thread
| Started by | "Superpelican X." <superpelican12@gmail.com> |
|---|---|
| First post | 2011-04-02 11:14 -0500 |
| Last post | 2011-04-03 02:29 -0500 |
| Articles | 7 — 3 participants |
Back to article view | Back to comp.lang.ruby
How to make stand a lone Shoes apps (with require 'shoes') "Superpelican X." <superpelican12@gmail.com> - 2011-04-02 11:14 -0500
Re: How to make stand a lone Shoes apps (with require 'shoes') serialhex <serialhex@gmail.com> - 2011-04-02 13:52 -0500
Re: How to make stand a lone Shoes apps (with require 'shoes') ashbb <ashbbb@gmail.com> - 2011-04-02 23:47 -0500
Re: How to make stand a lone Shoes apps (with require 'shoes') serialhex <serialhex@gmail.com> - 2011-04-03 00:00 -0500
Re: How to make stand a lone Shoes apps (with require 'shoes') ashbb <ashbbb@gmail.com> - 2011-04-03 02:27 -0500
Re: How to make stand a lone Shoes apps (with require 'shoes') "Superpelican X." <superpelican12@gmail.com> - 2011-04-03 01:29 -0500
Re: How to make stand a lone Shoes apps (with require 'shoes') ashbb <ashbbb@gmail.com> - 2011-04-03 02:29 -0500
| From | "Superpelican X." <superpelican12@gmail.com> |
|---|---|
| Date | 2011-04-02 11:14 -0500 |
| Subject | How to make stand a lone Shoes apps (with require 'shoes') |
| Message-ID | <eff34f36eae3d6db15d3cd22b60c2670@ruby-forum.com> |
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? -- Posted via http://www.ruby-forum.com/.
[toc] | [next] | [standalone]
| From | serialhex <serialhex@gmail.com> |
|---|---|
| Date | 2011-04-02 13:52 -0500 |
| Message-ID | <AANLkTi=0Br0dRYvgyF9p1g=N9r5UY+2NmAxhUZ6Xk2WZ@mail.gmail.com> |
| In reply to | #2156 |
[Note: parts of this message were removed to make it a legal post.] 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? > > -- > Posted via http://www.ruby-forum.com/. > >
[toc] | [prev] | [next] | [standalone]
| From | ashbb <ashbbb@gmail.com> |
|---|---|
| Date | 2011-04-02 23:47 -0500 |
| Message-ID | <AANLkTikENm3=wsKffN=u+T2DJbbS_U+sbQc7Pgdzc51X@mail.gmail.com> |
| In reply to | #2160 |
[Note: parts of this message were removed to make it a legal post.] 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? 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
[toc] | [prev] | [next] | [standalone]
| From | serialhex <serialhex@gmail.com> |
|---|---|
| Date | 2011-04-03 00:00 -0500 |
| Message-ID | <AANLkTi=u90=a-6kPE1UcPfbp3bsvxfuoSafbucmOfrCZ@mail.gmail.com> |
| In reply to | #2176 |
[Note: parts of this message were removed to make it a legal post.] ashbb, yeah, sorry, i use "require 'green_shoes' " usually :P 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 ) 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? > > 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 >
[toc] | [prev] | [next] | [standalone]
| From | ashbb <ashbbb@gmail.com> |
|---|---|
| Date | 2011-04-03 02:27 -0500 |
| Message-ID | <AANLkTinpVChp3DGiMaP8tQ7QuE3TrWEE59zuV2gLRLd0@mail.gmail.com> |
| In reply to | #2177 |
[Note: parts of this message were removed to make it a legal post.] Hi hex, > (and you keep getting it wrong, it's hex not Hex, Mr. Ashbb :P ) 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. ;-) ashbb
[toc] | [prev] | [next] | [standalone]
| From | "Superpelican X." <superpelican12@gmail.com> |
|---|---|
| Date | 2011-04-03 01:29 -0500 |
| Message-ID | <d10411e84b684fbba753df70128b6400@ruby-forum.com> |
| In reply to | #2156 |
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? ;) (.hex) -- Posted via http://www.ruby-forum.com/.
[toc] | [prev] | [next] | [standalone]
| From | ashbb <ashbbb@gmail.com> |
|---|---|
| Date | 2011-04-03 02:29 -0500 |
| Message-ID | <AANLkTi=n5dHHdRcWxGv-NFgd_WmgHwnuR0r07Qre067s@mail.gmail.com> |
| In reply to | #2179 |
[Note: parts of this message were removed to make it a legal post.]
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........
-----------
I could launch test.rb with shoes3.run.sh.
But I had to specify the full path of test.rb.
Hope this helps,
ashbb
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.ruby
csiph-web