Hi all, I've tried to package a tiny Purple Shoes game: Unblockme. Try out the following: - download unblockme.zip from here: https://github.com/ashbb/unblockme/downloads - unzip the file - double-click unblockme.bat to start the game If you are not using Windows, - open console window - run the command: java -Djruby.compat.version=RUBY1_9 -jar jruby-complete.jar unblockme.rb The unblockme.zip file includes jruby 1.6.7, swt 1.3 and purple_shoes 0.0.141. So, you don't install anything. ;-) ashbb
ashbb,
> The unblockme.zip file includes jruby 1.6.7, swt 1.3 and purple_shoes 0.0.141.
I didn't get the full package :(
maps:Downloads eric$ ls -alh ashbb-unblockme-d5cd69f.zip
-rw-r--r--@ 1 eric staff 53K Apr 21 06:32 ashbb-unblockme-d5cd69f.zip
maps:Downloads eric$ tree ashbb-unblockme-d5cd69f
ashbb-unblockme-d5cd69f
├── README.md
├── game
│ ├── E050
│ ├── H050
│ ├── M050
│ ├── X050
│ └── X500
├── green_make_game.rb
├── green_unblockme.rb
├── make_game.png
├── purple_make_game.rb
├── purple_unblockme.rb
├── red_make_game.rb
├── red_unblockme.rb
└── unblockme.png
1 directory, 14 files
Can't wait to try it, though!
> I didn't get the full package :(
Hmmm, I think I clicked on the "Download as .zip" button the first time.
When I clicked on the file itself it worked!
On OSX I had to add the startOnFirstThread flad like this:
java -Djruby.compat.version=RUBY1_9 -XstartOnFirstThread -jar
jruby-complete.jar unblockme.rb
Great work!
Eric
Ah, I will definitely try this out.. On Sat, Apr 21, 2012 at 12:53 PM, Eric Watson <wasnotrice@gmail.com> wrote: > > > I didn't get the full package :( > > Hmmm, I think I clicked on the "Download as .zip" button the first time. > When I clicked on the file itself it worked! > > On OSX I had to add the startOnFirstThread flad like this: > > java -Djruby.compat.version=RUBY1_9 -XstartOnFirstThread -jar > jruby-complete.jar unblockme.rb > > Great work! > > Eric >
hi ashbb, downloads and runs with no problems on Ubuntu 10.04 LTS using the command you provided - nice one! Go Shoes! - j On Sat, Apr 21, 2012 at 11:36 AM, Eric Watson <wasnotrice@gmail.com> wrote: > ashbb, > > > The unblockme.zip file includes jruby 1.6.7, swt 1.3 and purple_shoes > 0.0.141. > > I didn't get the full package :( > > maps:Downloads eric$ ls -alh ashbb-unblockme-d5cd69f.zip > -rw-r--r--@ 1 eric staff 53K Apr 21 06:32 ashbb-unblockme-d5cd69f.zip > maps:Downloads eric$ tree ashbb-unblockme-d5cd69f > ashbb-unblockme-d5cd69f > ├── README.md > ├── game > │ ├── E050 > │ ├── H050 > │ ├── M050 > │ ├── X050 > │ └── X500 > ├── green_make_game.rb > ├── green_unblockme.rb > ├── make_game.png > ├── purple_make_game.rb > ├── purple_unblockme.rb > ├── red_make_game.rb > ├── red_unblockme.rb > └── unblockme.png > > 1 directory, 14 files > > Can't wait to try it, though!
Yep, that worked fine. I wonder if the same would work for project-x? :-) On Sat, Apr 21, 2012 at 9:01 AM, ashbb <ashbbb@gmail.com> wrote: > Hi all, > > I've tried to package a tiny Purple Shoes game: Unblockme. > > Try out the following: > > - download unblockme.zip from here: > https://github.com/ashbb/unblockme/downloads > - unzip the file > - double-click unblockme.bat to start the game > > If you are not using Windows, > - open console window > - run the command: java -Djruby.compat.version=RUBY1_9 -jar > jruby-complete.jar unblockme.rb > > The unblockme.zip file includes jruby 1.6.7, swt 1.3 and purple_shoes > 0.0.141. > So, you don't install anything. ;-) > > ashbb >
Hi David,
> I wonder if the same would work for project-x?
Yes, you can. If your Shoes app is written in only JRuby and SWT.
Although, if the app needs to require other gems, you have to include them.
;-)
ashbb
As far as I know, its written in shoes :-) On Sun, Apr 22, 2012 at 12:25 AM, ashbb <ashbbb@gmail.com> wrote: > Hi David, > > > > I wonder if the same would work for project-x? > Yes, you can. If your Shoes app is written in only JRuby and SWT. > Although, if the app needs to require other gems, you have to include > them. ;-) > > ashbb >
I ran a small test app, and it failed on a window() call. So I guess I would need to know how much of red shoes is supported by purple. On Sun, Apr 22, 2012 at 1:14 AM, David Eastman <deastman1@gmail.com> wrote: > As far as I know, its written in shoes :-) > > > On Sun, Apr 22, 2012 at 12:25 AM, ashbb <ashbbb@gmail.com> wrote: > >> Hi David, >> >> >> > I wonder if the same would work for project-x? >> Yes, you can. If your Shoes app is written in only JRuby and SWT. >> Although, if the app needs to require other gems, you have to include >> them. ;-) >> >> ashbb >> > >
Hi David, > I ran a small test app, and it failed on a window() call. Oh. I've just ported the method 4days ago: https://github.com/ashbb/purple_shoes/commit/3ffc323a80b6ec5b7770cbf438abb24d5eae2265 > how much of red shoes is supported by purple. Ten essentials and other major features are available for now, but there are many differences in detail. ;-) ashbb
Well, I guess if I bring down purple, I can test it against bits of stuff and see how it does. I actually don't think I use too much weird shoes. On Mon, Apr 23, 2012 at 1:51 PM, ashbb <ashbbb@gmail.com> wrote: > Hi David, > > > > I ran a small test app, and it failed on a window() call. > Oh. I've just ported the method 4days ago: > https://github.com/ashbb/purple_shoes/commit/3ffc323a80b6ec5b7770cbf438abb24d5eae2265 > > > > how much of red shoes is supported by purple. > Ten essentials and other major features are available for now, but there > are many differences in detail. ;-) > > ashbb > > >