GoRuCo Materials Available

Posted by Nick Sieger Thu, 10 May 2007 16:16:06 GMT

Busy times! My apologies for the post-conference talk delay. So, before this stuff becomes completely irrelevant, here are my slides and my demos from my talk at GoRuCo a couple weekends ago. Please let me know if you download the demos and have any problems with them.

From the README included in the demo bundle:

JRuby GoRoCo 2007 Demos

Nick gave these demos at his GoRuCo talk in NYC on April 21, 2007 and at SDForum Silicon Valley Ruby Conference on April 22, 2007.


JRuby 0.9.9, Tomcat 5.5.23, RSpec 0.8.2, the MySQL JDBC connector as well as all the demo applications are included with this package. The only prerequisite (other than a Java VM) is that you should have a MySQL database running on localhost, with a password-less root user. If you need to change the user/password for the database server, make the changes in the mephisto/config/database.jruby.yml file.


Source init.sh or init.bat in your environment to set paths to JRuby.

$ . init.sh
> init.bat


These examples emphasize the conciseness and structure of Ruby DSLs as a GUI assembly language. Run the following:

$ jrake jrb:hello
$ jrake jrb:tabs

View the source for these (and others) in jrbuilder/examples.


This shows a simple RSpec example that exercises a Java ArrayList. The initial specs fails, but is easily fixed.

$ jrake rspec:run


This example shows building and deploying a .war file containing the Mephisto blog engine. It uses a snapshot of the Rails Integration plugin just before version 1.1.1.

MySQL is required for the database. As noted above, the database configuration assumes a password-less root user. If you need to change that assumption, edit the production section of the file mephisto/config/database.jruby.yml.

Several targets are available:

$ jrake meph:clean     # Clean Mephisto database and war file
$ jrake meph:database  # Setup Mephisto database
$ jrake meph:war       # Create Mephisto war

Before you can run the example, the mephisto database must be created.

$ jrake meph:database

Next, create the war file. This target creates the war file and copies it into the Tomcat webapps directory.

$ jrake meph:war

Next, run the Tomcat web container, and observe the war file getting deployed.

$ tomcat/bin/catalina.sh run

Finally, visit http://localhost:8080/ in a web browser, and see Mephisto running in a Java web container.

More information on the Rails Integration plugin (now renamed “Goldspike”) can be found at the JRuby wiki.

Tags ,  | no comments | no trackbacks

Gig: Double-stacked Conferences in One Weekend

Posted by Nick Sieger Fri, 20 Apr 2007 15:01:08 GMT

So, on somewhat late notice due to a miscommunication, I’ve been asked to step in and give a talk on JRuby at the SDForum Silicon Valley Ruby Conference this Sunday the 22nd. This, in addition to my already-scheduled talk at GoRuCo! JRuby makes an appearance on both coasts in a single busy weekend!

Due to schedule shuffling, I’ll be sharing a 75-minute time slot in the morning with Tor Norbye, who will be giving a talk on Ruby tooling featuring NetBeans.

Tags , , , ,  | 1 comment | no trackbacks

Gig: Speaking at Gotham Ruby Conference 2007

Posted by Nick Sieger Sat, 24 Mar 2007 04:41:00 GMT

Hey! I’ve been so excited and busy at the same time I forgot to mention I’ll be speaking at the Gotham Ruby Conference on April 21st in NYC located at the Googleplex in Chelsea. Hopefully you’ve got your ticket by now, as last I heard there were only a couple of tickets left. You’ll hear me giving the JRuby pitch: Ruby on the best VM on the planet, performance updates, deploying Rails by dropping a file in a Java webserver, and more. Looking forward to carousing with the fine Rubyists in the Tri-State Metro area! Manhattan was my provenance in 1997-1999, where I had my first programming gig out of college, so I feel like I’m coming back to where I got started, in a way.

Only downer -- I’ll miss the second incarnation of Minnebar, which was a blast last year. If you’re near the Twin Cities that weekend you owe it to yourself to attend.

Tags , , ,  | 1 comment | no trackbacks