Porting Green Shoes with JRuby and SWT
Ruby JavaScript
Permalink
Failed to load latest commit information.
bin
lib Bug fixing: Added CHECK_DEFAULT and RADIO_DEFAULT. May 30, 2012
samples
snapshots Revised video method with javax.sound.sampled.Clip interface. Impleme… May 14, 2012
static Try to add :right style option. Now it works almost like Red Shoes. B… May 19, 2012
README.md Improved video method to play MPEG-1 format video. May 15, 2012
Rakefile Oops a typo. Mar 24, 2012
VERSION
manual.png Added a little error handling. Reviewed throughout built-in English m… May 2, 2012
purple_shoes.gemspec

README.md

Purple Shoes

Porting Green Shoes with JRuby and SWT.

Install JRuby and Purple Shoes for Windows

The swt gem will be installed automatically.

Install JRuby and Purple Shoes for Linux and OS X

  • install rvm
  • rvm install jruby
  • gem install purple_shoes

Look at the command line help

jruby --1.9 -S pshoes -h
Usage: pshoes (options or app.rb)
  -m, -men     Open the built-in English manual.
  -mjp         Open the built-in Japanese manual.
  -v           Display the version info.
  -h           Show this message.

Note: If you set an environment variable like this: set JRUBY_OPTS=--1.9, you can do just only pshoes -h.

Note to OSX Users

You'll need to pass an extra argument to JRuby's JVM for SWT to work on OSX. Your command line should look like this:

jruby -J-XstartOnFirstThread --1.9 sample2.rb

Open the built-in manual

Note: Need to install Hpricot: jruby --1.9 -S gem install hpricot

jruby --1.9 -S pshoes -m

snapshot

Embed MPEG-1 video format

Note: Need to install JMF (Java Media Framework API)