<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - noah</title>
<link>http://snipplr.com/users/noah/tags/system</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 13:12:59 GMT</pubDate>
<item>
<title>(Ruby) Howto set up a Rake task that passes a parameter to a shell command or script</title>
<link>http://snipplr.com/view/27991/howto-set-up-a-rake-task-that-passes-a-parameter-to-a-shell-command-or-script/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 08 Feb 2010 22:48:53 GMT</pubDate>
<guid>http://snipplr.com/view/27991/howto-set-up-a-rake-task-that-passes-a-parameter-to-a-shell-command-or-script/</guid>
</item>
<item>
<title>(DOS Batch) Print Date/Time in DOS Batch File</title>
<link>http://snipplr.com/view/21573/print-datetime-in-dos-batch-file/</link>
<description><![CDATA[ <p>The code below shows how to format date and time stamps in DOS batch files.  This is very useful if you are creating a log file, or any file that should have a unique file name.

If you run the batch file below it should print something like the following output:

    Today's date is 2009_10_21

    The local time is 14_25_01

    Date and time: 2009_10_21_14_25_01</p> ]]></description>
<pubDate>Wed, 21 Oct 2009 14:17:34 GMT</pubDate>
<guid>http://snipplr.com/view/21573/print-datetime-in-dos-batch-file/</guid>
</item>
<item>
<title>(Ruby) Update RubyGems to the latest version (how to upgrade the gem command)</title>
<link>http://snipplr.com/view/9127/update-rubygems-to-the-latest-version-how-to-upgrade-the-gem-command/</link>
<description><![CDATA[ <p>This command tells RubyGems to upgrade _itself_ to the latest version of RubyGems.

**Updated 2010** on modern RubyGems, all you have to do is 

     gem update --system

and you are set.  Then you can say `gem update` to get the latest versions of installed gems.

The rest of this post will be left intact for historical purposes.

## If you were going to read the documentation&amp;hellip;

&amp;hellip;then remove `--no-rdoc` and/or `--no-ri`.

## If you also want to update all installed gems&amp;hellip;

&amp;hellip;then just say `sudo gem update`</p> ]]></description>
<pubDate>Mon, 20 Oct 2008 12:02:19 GMT</pubDate>
<guid>http://snipplr.com/view/9127/update-rubygems-to-the-latest-version-how-to-upgrade-the-gem-command/</guid>
</item>
</channel>
</rss>