My interesting in JRuby and Ruby on Rails is really picking up steam. I’m even working on a screencast detailing how to get a simple Rails app under the JBoss Application Server. Out of my efforts came this patch to goldspike. Since I haven’t quite figured out how to submit patches to goldspike, I’m going to share this patch here first. Hopefully I figure out how to do it soon. JRuby + Rails is going to be awesome!
<p>This patch includes a generator and adds another directory to your configuration directory, so you can add your own custom deployment files. For example, JBoss needs a jboss-web.xml file, and you can add it your config/war_files explicitly, or create an <span class="caps">ERB</span> template, config/war_files/jboss-web.xml.erb, which will allow you to sprinkle in some <span class="caps">ERB</span> goodness. This patch hasn’t been tested anywhere yet, so I’d love to hear some feedback. Either post your comments here or email me iam@@smarticus (make sure to put the dot in the right place!)</p>
<p>With this major hurdle the Smarticast JRuby on Rails: A Primer screencast is one step closer to reality, and I should be releasing it in the next few days.</p>
<p>The patch: <a href="http://smartic.us/assets/2007/7/15/goldspike_generator.patch.gz">goldspike-generator.patch.gz</a></p>
<p><em>Update 7/17</em></p>
<p>My patch was added to the <a href="http://rubyforge.org/projects/jruby-extras">jruby-extras</a> svn.</p>