Nick Sieger: Tag goruco tag:blog.nicksieger.com,2005:Typo Typo 2010-11-22T18:55:44+00:00 Nick Sieger urn:uuid:f6e673ec-89f8-4b0d-8794-da41e3934d4a 2007-03-24T04:41:00+00:00 2010-11-22T18:55:44+00:00 Gig: Speaking at Gotham Ruby Conference 2007 <p>Hey! I&#8217;ve been so excited and busy at the same time I forgot to mention I&#8217;ll be <a href="http://goruco.com/speakers/">speaking</a> at the <a href="http://goruco.com/">Gotham Ruby Conference</a> on April 21st in NYC located at the Googleplex in Chelsea&#46; Hopefully you&#8217;ve got your ticket by now, as last I heard there were only a couple of tickets left&#46; You&#8217;ll hear me giving the JRuby pitch: Ruby on the best VM on the planet, performance updates, deploying Rails by <a href="http://drnicwilliams.com/2007/03/23/drop-rails-into-tomcat-and-it-just-works-ola-bini-on-jruby-presentation/">dropping a file in a Java webserver</a>, and more&#46; Looking forward to carousing with the fine Rubyists in the Tri&#45;State Metro area! Manhattan was my provenance in 1997&#45;1999, where I had my first programming gig out of college, so I feel like I&#8217;m coming back to where I got started, in a way&#46;</p> <p>Only downer &#45;&#45; I&#8217;ll miss the second incarnation of <a href="http://barcamp.org/MinneBar">Minnebar</a>, which was a blast <a href="/articles/tag/minnebar">last year</a>&#46; If you&#8217;re near the Twin Cities that weekend you owe it to yourself to <a href="http://groups.google.com/group/MinneBar/browse_thread/thread/82e63ae53f17bd8a">attend</a>&#46;</p> Nick Sieger urn:uuid:67ef6ad5-9935-4d0f-b8c7-fcc1c69288e3 2007-04-20T15:01:08+00:00 2010-11-22T18:55:44+00:00 Gig: Double-stacked Conferences in One Weekend <p>So, on somewhat late notice due to a miscommunication, I&#8217;ve been asked to step in and give a talk on JRuby at the <a href="http://www.sdforum.org/SDForum/Templates/Level1.aspx?pid=10241&amp;sid=3">SDForum Silicon Valley Ruby Conference</a> this Sunday the 22nd&#46; This, in addition to my already&#45;scheduled <a href="/articles/2007/03/24/gig-speaking-at-gotham-ruby-conference-2007">talk at GoRuCo</a>! JRuby makes an appearance on both coasts in a single busy weekend!</p> <p>Due to schedule shuffling, I&#8217;ll be sharing a 75&#45;minute time slot in the morning with <a href="http://blogs.sun.com/tor/">Tor Norbye</a>, who will be giving a talk on Ruby tooling featuring <a href="/articles/tag/netbeans">NetBeans</a>&#46;</p> Nick Sieger urn:uuid:33e6c919-f861-49c7-a95c-8e722eac2afb 2007-05-10T16:16:06+00:00 2010-11-22T22:43:36+00:00 GoRuCo Materials Available <p>Busy times! My apologies for the post&#45;conference talk delay&#46; So, before this stuff becomes completely irrelevant, here are <a href="http://dist.codehaus.org/jruby/talks/JRuby-GoRuCo-2007.pdf">my slides</a> and <a href="http://dist.codehaus.org/jruby/talks/JRuby-GoRuCo-2007-demos.tar.gz">my demos</a> from my talk at <a href="/articles/2007/03/24/gig-speaking-at-gotham-ruby-conference-2007">GoRuCo</a> a couple weekends ago&#46; Please let me know if you download the demos and have any problems with them&#46;</p> <p>From the README included in the demo bundle:</p> <h1>JRuby GoRoCo 2007 Demos</h1> <p>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&#46;</p> <h2>Requirements</h2> <p>JRuby 0&#46;9&#46;9, Tomcat 5&#46;5&#46;23, RSpec 0&#46;8&#46;2, the MySQL JDBC connector as well as all the demo applications are included with this package&#46; The only prerequisite (other than a Java VM) is that you should have a MySQL database running on localhost, with a password&#45;less root user&#46; If you need to change the user/password for the database server, make the changes in the mephisto/config/database&#46;jruby&#46;yml file&#46;</p> <h2>Setup</h2> <p>Source init&#46;sh or init&#46;bat in your environment to set paths to JRuby&#46;</p> <pre><code>$ . init.sh &gt; init.bat </code></pre> <h2>JRBuilder</h2> <p>These examples emphasize the conciseness and structure of Ruby DSLs as a GUI assembly language&#46; Run the following:</p> <pre><code>$ jrake jrb:hello $ jrake jrb:tabs </code></pre> <p>View the source for these (and others) in jrbuilder/examples&#46;</p> <h2>RSpec</h2> <p>This shows a simple RSpec example that exercises a Java ArrayList&#46; The initial specs fails, but is easily fixed&#46;</p> <pre><code>$ jrake rspec:run </code></pre> <h2>Mephisto</h2> <p>This example shows building and deploying a &#46;war file containing the <a href="http://mephistoblog.com/">Mephisto blog engine</a>&#46; It uses a snapshot of the Rails Integration plugin just before version 1&#46;1&#46;1&#46;</p> <p>MySQL is required for the database&#46; As noted above, the database configuration assumes a password&#45;less root user&#46; If you need to change that assumption, edit the production section of the file mephisto/config/database&#46;jruby&#46;yml&#46;</p> <p>Several targets are available:</p> <pre><code>$ jrake meph:clean # Clean Mephisto database and war file $ jrake meph:database # Setup Mephisto database $ jrake meph:war # Create Mephisto war </code></pre> <p>Before you can run the example, the mephisto database must be created&#46;</p> <pre><code>$ jrake meph:database </code></pre> <p>Next, create the war file&#46; This target creates the war file and copies it into the Tomcat webapps directory&#46;</p> <pre><code>$ jrake meph:war </code></pre> <p>Next, run the Tomcat web container, and observe the war file getting deployed&#46;</p> <pre><code>$ tomcat/bin/catalina.sh run </code></pre> <p>Finally, visit http://localhost:8080/ in a web browser, and see Mephisto running in a Java web container&#46;</p> <p>More information on the Rails Integration plugin (now renamed &#8220;Goldspike&#8221;) can be found at the <a href="http://www.headius.com/jrubywiki/index.php/Rails_Integration">JRuby wiki</a>&#46;</p>