Vita Rara: A Life Uncommon

JRuby

Why I Chose JRuby Over Groovy


Categories: | |

After reading The power of JRuby and the discussion that ensued I was inspired to write about why I chose Ruby and particularly JRuby as my company's primary development platform.

I didn't write this post as a knock on Groovy. If it wasn't for Groovy I doubt I'd be working in Ruby today. For me Groovy was my "gate-way drug" into the dynamic language realm. My reason for this post is to explain why someone might want to use Ruby on the JVM over Groovy.

After working with Groovy for quite a while I started dabbling in Ruby. At first I really didn't get it. Then I watched a presentation by Dave Thomas and the lights went on. A world of possibilities opened up for me, and they were easily in reach.

Mark's [J]Ruby on Rails Notes


Categories: | |

Using GoldSpike to run Ruby on Rails in Standalone Mode

When running Ruby on Rails in a war using the GoldSpike servlets and context-param jruby.standalone is set to true you will need to use the jruby-complete jar file. Rails requires Gems in order to boot strap. I found that using the jruby jar file caused Rails to fail in initializer.rb when it tried to require 'logger' which is included in the ActiveSupport gem.

Also be sure to copy your required gems into WEB-INF/gems.

[EDIT: Better yet use ruby gem install --install-dir WEB-INF/gems. ]

Model Auto Completer

Syndicate content