{ |one, step, back| } http://www.pairprogrammingbot.com/index.cgi Jim Weirich's Blog en-us { |one, step, back| } http://onestepback.org http://onestepback.org/images/jwface.gif Running Back Versions of Gem-installed Applications http://www.pairprogrammingbot.com/index.cgi/Tech/Ruby/Gems/RunnnigOldVersions.rdoc I keep forgetting that RubyGems has this capability. In this example, I have 7 (yes, <em>seven</em>, really) versions of rake installed. <pre> $ gem list --local rake *** LOCAL GEMS *** rake (0.4.15.1, 0.4.15, 0.4.14, 0.4.13, 0.4.12.1, 0.4.12, 0.4.4) Ruby based make-like utility. $ $ rake --version rake, version 0.4.15.1 $ $ rake _0.4.12_ --version rake, version 0.4.12 </pre> <p> Since rake is installed as a gem, you can run the executable of any installed version. By default, gems will run the latest one. But if you wish to run an older version, gems will accomodate you. </p> 99 Gems on the Wall http://www.pairprogrammingbot.com/index.cgi/Tech/Ruby/Gems/NinetyNineAndCounting.rdoc GemWatch is reporting that 99 unique Gems have been released. We were at 90 at the beginning of the week and I was hoping that we could hit 100 by RubyConf. Looks like we might reach that goal during the conference! <p> If we hit 100 before my talk tomorrow, I will add a mention of that Gem to the presentation (how about <em>that</em> for motivation). </p> <hr size="2"></hr><ul> <li><a href="http://onestepback.org/cgi-bin/osbwiki.pl?FeedBack/NinetyNineAndCounting">Feedback</a> </li> </ul> RSS Feed for GemWatch Available http://www.pairprogrammingbot.com/index.cgi/Tech/Ruby/Gems/GemWatchRss.rdoc I&#8217;ve setup a simple RSS feed for newly released gems. The same file that builds the GemWatch HTML file now also builds an RSS 2.0 file. You can find the feed at <a href="http://onestepback.org/gemwatch.rss">http://onestepback.org/gemwatch.rss</a>. <p> This is the first hand-built RSS feed I&#8217;ve put together, so let me know if I&#8217;ve screwed something up. </p> <p> By the way, the idea from the feed came from the <a href="http://www.pragmaticautomation.com/cgi-bin/pragauto.cgi/Monitor/Loginfo2Rss.rdoc">Dave's Article</a> at the <a href="http://pragmaticautomation.com">Pragmatic Automation</a> web site </p> <hr size="2"></hr><ul> <li><a href="http://onestepback.org/cgi-bin/osbwiki.pl?FeedBack/GemWatchRss">Feedback</a> </li> </ul> 50+ Gems Available http://www.pairprogrammingbot.com/index.cgi/Tech/Ruby/Gems/FiftyAndCounting.rdoc More than 50 packages have been released as a <a href="http://rubygems.rubyforge.org">RubyGem</a> at this point. I&#8217;ve added a <b>Gem Watch</b> sidebar to my blog so you can watch as the new gems become available. <p> If you are considering releasing your Ruby project as a gem, you might want to see <a href="http://rubygems.rubyforge.org/wiki/wiki.pl?CreateAGemInTenMinutes">this</a> (or <a href="http://rubygems.rubyforge.org/wiki/wiki.pl?CreateAGemUsingRake">this</a> if you are using Rake). </p> <p> Anyone want to make a guess when we will hit 100 gems? </p> <hr size="2"></hr><ul> <li><a href="http://onestepback.org/cgi-bin/osbwiki.pl?FeedBack/FiftyAndCounting">Feedback</a> </li> </ul> RubyGems 0.7.0 has been Released http://www.pairprogrammingbot.com/index.cgi/Tech/Ruby/Gems/RubyGems070.rdoc Updates to this site have been rather sporatic recently. Part of the reason is RubyGems version 0.7.0. I&#8217;ve been heavily involved with this version for the past few weeks and I&#8217;m happy to say it is available now in the expected locations (e.g. <a href="http://rubyforge.org/frs/?group_id=126">RubyForge</a>). <p> The biggest change to RubyGems is the command structure. We now follow a cvs-like command structure where <tt>gem</tt> is the main command and <tt>install</tt>, <tt>build</tt>, etc are subcommands. For example, it install the latest version of rake, use the following command: </p> <pre> gem install rake </pre> <p> Options are now defind on individual subcommands and the whole structure is much easier to learn and understand. In addition, the help system knows about individual commands and all the options for each command. </p> <p> As you can guess, I&#8217;m quite excited about the latest version. I hope you download it and give it a tryout. </p> <p> BTW, if you use Rake to build RubyGems, you will want to grab the latest version (rake-0.4.2) that supports rubygems-0.7.0. </p> <hr size="2"></hr><ul> <li><a href="http://onestepback.org/cgi-bin/osbwiki.pl?FeedBack/RubyGems070">Feedback</a> </li> </ul>