Edge Monkeybars

monkey at keyboard Monkeybars lets you create elegant looking cross platform desktop apps with JRuby.

You’ll want to play with the latest and greatest versions of Monkeybars without conflicting with your current gem install. Here is a little guide on how to do just that.


Download

Fire up a terminal and enter the following:

mkdir -p ~/code/gems
git clone git://gitorious.org/monkeybars/mainline.git monkeybars-mainline
cd monkeybars-mainline
rake jar
mate ~/.bash_profile

This might take a while so grab a cup of coffee while you wait. At last count the Monkeybars repo was ~90MB.

Edit your bash profile

Once your bash profile pops up in Textmate add the following to the bottom of it:

function monkeybars-edge() { 
 ruby ~/code/gems/monkeybars-mainline/bin/monkeybars $1 $2
}

Great, almost there. You’ll just need to reload you bash profile, so either start a new terminal or run the following

. ~/.bash_profile

Note the leading dot.

Result?

Lets see if that worked:

martin$ monkeybars-edge myapp
Creating directory myapp
Copying monkeybars project structure

Excellent.

Anything else?

The version of Monkeybars added to the classpath in src/manifest.rb is likely to be an older one. If you peek in the lib/java directory you’ll see which version you have. Update the manifest line accordingly. In the example below it was 0.6.4 and I updated to 0.6.5.

require 'resolver'

case Monkeybars::Resolver.run_location when Monkeybars::Resolver::IN_FILE_SYSTEM add_to_classpath '../lib/java/monkeybars-0.6.5.jar' end

Continue Reading…

Posted by Martin on Dec 04, 2008

RailsConf Europe presentation slides now published

The presentation files from the talk I gave at RailsConf Europe are now available for download.

Direct link: Stories on a Cloud - Distributed Browser Testing with Selenium Presentation (PDF format).

I really enjoyed giving the talk and their seemed to be enough interest for follow up material. All good! I’ll be publishing supporting links and research details very soon, so watch this space.

Posted by Martin on Sep 08, 2008

(1 comments)

Speaking at RailsConf Europe

A quick shout about our talk tomorrow at RailsConf Europe:

Stories on a Cloud - Distributed Browser Testing with Selenium

Drive your browser (or somebody else’s!) through an RSpec story. In this talk I’ll be covering Rspec stories, Selenium, message queues, packaging your apps for cross platform distribution, and more!

Read more info over at the O’Reilly Conference page

Posted by Martin on Sep 02, 2008

Is this thing on? Converted to Radiant from Mephisto

More news to follow shortly..

Light Switch

sneak peak: http://github.com/martinbtt/radiant-import-mephisto

Posted by Martin on Jul 29, 2008

New RSS feed URL

Just a quick note to say the RSS feed for this blog has changed. Please update your feed reader to use:

http://feeds.feedburner.com/BeyondTheType

Posted by Martin on Jan 03, 2008

(2 comments)