<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2129963358149861363</id><updated>2011-04-21T17:40:59.211-07:00</updated><title type='text'>Shit happens</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pftg.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2129963358149861363/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pftg.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>pftg</name><uri>http://www.blogger.com/profile/05003203446642980861</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://bp3.blogger.com/_ztXHWNIw-Rs/SG4K58W4WCI/AAAAAAAAAAM/8i-4D8gBlio/s1600-R/shahter.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2129963358149861363.post-3852647372549828649</id><published>2007-10-01T12:23:00.000-07:00</published><updated>2007-10-26T01:54:01.947-07:00</updated><title type='text'>Scrubyt for JRuby</title><content type='html'>&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;&lt;h3&gt;Installing JRuby&lt;/h3&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;Install &lt;b&gt;jdk&lt;/b&gt; from &lt;i&gt;http://java.sun.com.&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;Download &lt;b&gt;JRbuy 1.0.1&lt;/b&gt; archive from &lt;/span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;&lt;a href="http://dist.codehaus.org/jruby/" target="new"&gt;http://dist.codehaus.org/jruby/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;Uncompress the archive&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;Now you have folder &lt;i&gt;jruby-1.0.1&lt;/i&gt; with sub-folders: &lt;i&gt;bin&lt;/i&gt;, &lt;i&gt;docs&lt;/i&gt;, &lt;i&gt;lib&lt;/i&gt; and &lt;i&gt;samples&lt;/i&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;You can add a &lt;i&gt;JRUBY_HOME&lt;/i&gt; environment variable pointing to this directory and then add the &lt;i&gt;%JRUBY_HOME%\bin&lt;/i&gt; (&lt;i&gt;$JRUBY_HOME/bin&lt;/i&gt; on &lt;b&gt;UNIX&lt;/b&gt;) to your system &lt;i&gt;PATH&lt;/i&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;The &lt;b&gt;JRuby&lt;/b&gt; distribution's &lt;i&gt;bin&lt;/i&gt; directory contains the &lt;i&gt;jruby.bat&lt;/i&gt; file that is used to run the &lt;b&gt;JRuby&lt;/b&gt; interpreter.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;Run &lt;i&gt;jruby --version&lt;/i&gt;  from the command line to test that &lt;b&gt;JRuby&lt;/b&gt; is working.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;&lt;h3&gt;Packaging JScrubyt&lt;/h3&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Download archive with &lt;a title="scrubyt-jruby" href="http://rubyforge.org/frs/download.php/26165/scrubyt-jruby-0.3.4.rar" id="qzsb"&gt;scrubyt-jruby from here&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Uncompress the archive&lt;/li&gt;&lt;li&gt;Go to uncompressed folder&lt;/li&gt;&lt;li&gt;Run &lt;i&gt;jruby --command rake package&lt;/i&gt;&lt;/li&gt;&lt;li&gt;You should have a gem package  &lt;i&gt;scrubyt-0.3.4-jruby.gem&lt;/i&gt; in folder &lt;b&gt;pkg&lt;/b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;&lt;h3&gt;Prepare for installing&lt;/h3&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Install &lt;b&gt;hpricot&lt;/b&gt;: &lt;i&gt;gem install hpricot&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Install &lt;b&gt;mechanize&lt;/b&gt;: &lt;i&gt;gem install mechanize&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Install &lt;b&gt;ruby2ruby&lt;/b&gt;: &lt;i&gt;gem install ruby2ruby&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Install &lt;b&gt;jrexml&lt;/b&gt;: &lt;i&gt;&lt;i&gt;gem install jrexml&lt;/i&gt;&lt;/i&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;&lt;br /&gt;&lt;h3&gt;Installing JScrubyt&lt;/h3&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Install jscrubyt: &lt;i&gt;gem install scrubyt-0.3.4-jruby.gem&lt;/i&gt;. &lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Scrubyt for jruby platform can use ruby2ruby 1.1.7 and not use ParseTreeReloaded&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2129963358149861363-3852647372549828649?l=pftg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pftg.blogspot.com/feeds/3852647372549828649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2129963358149861363&amp;postID=3852647372549828649' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2129963358149861363/posts/default/3852647372549828649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2129963358149861363/posts/default/3852647372549828649'/><link rel='alternate' type='text/html' href='http://pftg.blogspot.com/2007/10/installing-jruby-install-jdk-from.html' title='Scrubyt for JRuby'/><author><name>pftg</name><uri>http://www.blogger.com/profile/05003203446642980861</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://bp3.blogger.com/_ztXHWNIw-Rs/SG4K58W4WCI/AAAAAAAAAAM/8i-4D8gBlio/s1600-R/shahter.jpg'/></author><thr:total>21</thr:total></entry></feed>
