Be Aware of jruby.launch.inproc

Heads up for those not aware: it’s not hard to get burned when you’re executing other Ruby processes from within a JRuby process. Suppose you satisfy these conditions: You’re running a Ruby program via JRuby. Your program needs to execute another program via something like system or backticks. The command for the new program looks […]

These Are a Few of our Favorite Gems

On any given day at Atomic Object, we can glance around the office and see three or four teams using ruby for various customers and domains. These projects range from Rails web apps to JRuby desktop apps to support utilities. Every project has different needs, and uses different gems, so we’ve built up a wealth […]

Odd Warbler + Compass Gem Interaction

Short Version If this looks familiar: org.jruby.rack.RackInitializationException: no such file to load -- /private/var/folders/.../app.war/WEB-INF/config/compass.classorg.jruby.rack.RackInitializationException: no such file to load -- /private/var/folders/.../app.war/WEB-INF/config/compass.class Make sure you don’t compile config/compass.rb. Longer Version This week we spent a little time setting up Warbler for deploying our JRuby Rails app. Warbler’s been a useful tool for us to bundle up […]

Toolsmithing Java with JRuby

JRuby is my favorite Java tool. It lets me wield the power of Java libraries while building tools and abstractions to speed development. On a current project, I’m using JAXB2 to bind a large set of deeply-nested XML Schemas into Java classes. I have a Rake task to create the classes from the xsd files […]

Easy Data Visualization with JFreeChart

This week one of our customers asked us to create a small, single-purpose tool to help support one of our JRuby desktop applications. The requirement was simple: make it easy to input minimum, maximum, and beta values into a beta distribution function for a few thousand samples and visualize the results. After a few hours […]