<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/stlruby</id>
  <title type="text">Saint Louis Ruby Users Group Google Group</title>
  <subtitle type="text">
  Discussions of the Ruby programming language, for folks near St. Louis, MO. We also cover a lot of Ruby on Rails topics. We meet the 2nd Monday of the month, 6-8 pm, at 1350 Timberlake Manor, 3rd floor, 63017. Many of us go to dinner afterwards, for more open discussions and networking.
  </subtitle>
  <link href="/group/stlruby/feed/atom_v1_0_msgs.xml" rel="self" title="Saint Louis Ruby Users Group feed"/>
  <updated>2009-11-24T23:22:34Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Ed Howland</name>
  <email>ed.howl...@gmail.com</email>
  </author>
  <updated>2009-11-24T23:22:34Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/bcbf93298864d41d/eaf68ada68a0a5fa?show_docid=eaf68ada68a0a5fa</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/bcbf93298864d41d/eaf68ada68a0a5fa?show_docid=eaf68ada68a0a5fa"/>
  <title type="text">Re: [stlruby] Re: preventing irb exiting out on errors</title>
  <summary type="html" xml:space="preserve">
  I confirmed Craig&#39;s behavior on 1.9.1 and 1.8.7 on Mac OSX and 1.8.7 &lt;br&gt; on Ubuntu 9.10. I also tested on a Turnkey RoR VM appliance using Ruby &lt;br&gt; 1.8.6 on Ubuntu 8.04 (LTS). &lt;br&gt; &lt;p&gt;The only thing I can see is Robert is running some version of 1.8 that &lt;br&gt; was installed via a package manager (like apt-get). I&#39;m guessing that
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Citek</name>
  <email>robert.ci...@gmail.com</email>
  </author>
  <updated>2009-11-24T23:09:52Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/864125db4079d94a/176edbb0daad8832?show_docid=176edbb0daad8832</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/864125db4079d94a/176edbb0daad8832?show_docid=176edbb0daad8832"/>
  <title type="text">negate grep</title>
  <summary type="html" xml:space="preserve">
  Hello all, &lt;br&gt; &lt;p&gt;I&#39;m looking for the equivalent of &#39;grep -v&#39; in ruby.  For example, &lt;br&gt; let&#39;s say I have the following array: &lt;br&gt; &lt;p&gt;a=%w(foo bar bat) &lt;br&gt; &lt;p&gt;I can grep for those items that have an /b/ with this: &lt;br&gt; &lt;p&gt;irb(main):016:0&amp;gt; a.grep(/b/) &lt;br&gt; =&amp;gt; [&amp;quot;bar&amp;quot;, &amp;quot;bat&amp;quot;] &lt;br&gt; &lt;p&gt;I would like to be able to grep by specifying a negative, such as,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Citek</name>
  <email>robert.ci...@gmail.com</email>
  </author>
  <updated>2009-11-24T22:07:36Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/bcbf93298864d41d/fc981edae7e43881?show_docid=fc981edae7e43881</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/bcbf93298864d41d/fc981edae7e43881?show_docid=fc981edae7e43881"/>
  <title type="text">Re: [stlruby] Re: preventing irb exiting out on errors</title>
  <summary type="html" xml:space="preserve">
  Don&#39;t have one, yet. Was just getting to that chapter in the pickaxe &lt;br&gt; book, when I inadvertently packed it in a box for moving. I&#39;ll &lt;br&gt; probably find it later tonight. &lt;br&gt; &lt;p&gt;$ (set -x ; ruby -v ; irb -v ; lsb_release -a ) &lt;br&gt; + ruby -v &lt;br&gt; ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux] &lt;br&gt; + irb -v &lt;br&gt; irb 0.9.5(05/04/13)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Craig Buchek</name>
  <email>craig.buc...@gmail.com</email>
  </author>
  <updated>2009-11-24T21:13:37Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/bcbf93298864d41d/7f957b074fe4aaef?show_docid=7f957b074fe4aaef</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/bcbf93298864d41d/7f957b074fe4aaef?show_docid=7f957b074fe4aaef"/>
  <title type="text">Re: preventing irb exiting out on errors</title>
  <summary type="html" xml:space="preserve">
  You&#39;ve really got 2 problems here, and I&#39;m not sure how related they &lt;br&gt; are. First, the rescue clause isn&#39;t working. On my system, that &lt;br&gt; statement returns nil. Second, your IRB is exiting on errors. My IRB &lt;br&gt; session prints the traceback if I remove the rescue clause, but then &lt;br&gt; gives me another IRB prompt.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Citek</name>
  <email>robert.ci...@gmail.com</email>
  </author>
  <updated>2009-11-24T20:03:12Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/bcbf93298864d41d/1e686f37a0246055?show_docid=1e686f37a0246055</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/bcbf93298864d41d/1e686f37a0246055?show_docid=1e686f37a0246055"/>
  <title type="text">Re: [stlruby] Re: preventing irb exiting out on errors</title>
  <summary type="html" xml:space="preserve">
  That didn&#39;t work for me. irb still exits on errors. &lt;br&gt; &lt;p&gt;irb transcript: &lt;br&gt; &lt;p&gt;irb(main):001:0&amp;gt; require &#39;sqlite3&#39; &lt;br&gt; =&amp;gt; true &lt;br&gt; irb(main):002:0&amp;gt; db = SQLite3::Database.new( &amp;quot;test.db&amp;quot; ) &lt;br&gt; =&amp;gt; #&amp;lt;SQLite3::Database:0xb7b279bc &lt;br&gt; @driver=#&amp;lt;SQLite3::Driver::Nat ive::Driver:0xb7b1e628 @trace={}, &lt;br&gt; @busy_handler={}, @authorizer={}, @callback_data={}&amp;gt;,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Citek</name>
  <email>robert.ci...@gmail.com</email>
  </author>
  <updated>2009-11-24T18:52:55Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/5d4e03cc83908b97/7270830858ac7884?show_docid=7270830858ac7884</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/5d4e03cc83908b97/7270830858ac7884?show_docid=7270830858ac7884"/>
  <title type="text">Re: [stlruby] Re: string example in perl, python, and ruby</title>
  <summary type="html" xml:space="preserve">
  Yup, lot of variation is possible. I was trying to make each script &lt;br&gt; the most readable in that language and the most familiar to those not &lt;br&gt; versed in that language. &lt;br&gt; &lt;p&gt;Interesting. I usually go the other way, using double quotes by &lt;br&gt; default unless I need single quotes, mainly because double quotes
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mario Aquino</name>
  <email>mario.e.aqu...@gmail.com</email>
  </author>
  <updated>2009-11-24T13:21:10Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/b1ed669c0836ee9b/7f737676ea90143c?show_docid=7f737676ea90143c</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/b1ed669c0836ee9b/7f737676ea90143c?show_docid=7f737676ea90143c"/>
  <title type="text">I didn&#39;t know you could do that...</title>
  <summary type="html" xml:space="preserve">
  &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.reddit.com/r/ruby/comments/a7he5/hey_rruby_about_the_dark_corners_of_ruby_syntax/&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ed Howland</name>
  <email>ed.howl...@gmail.com</email>
  </author>
  <updated>2009-11-24T00:39:48Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/2950848ccebb6e5f?show_docid=2950848ccebb6e5f</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/2950848ccebb6e5f?show_docid=2950848ccebb6e5f"/>
  <title type="text">Re: [stlruby] Re: What is gemcutter and jeweler?</title>
  <summary type="html" xml:space="preserve">
  Luis commented on the Google group for RubyInstaller (The 5-click &lt;br&gt; Installer :) that gemcutter works with it, but he hasn&#39;t tested &lt;br&gt; jeweler. (if it doesn&#39;t shell out to *nix commands, it shuld be fine). &lt;br&gt; &lt;p&gt;So he is aware of the move. &lt;br&gt; &lt;p&gt;Gem&#39;s must from now on be &amp;quot;pushed&amp;quot; to gemvutter, if hosted on RF:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Craig Buchek</name>
  <email>craig.buc...@gmail.com</email>
  </author>
  <updated>2009-11-23T21:04:50Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/45de2f00249f5184/71500db60800fca6?show_docid=71500db60800fca6</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/45de2f00249f5184/71500db60800fca6?show_docid=71500db60800fca6"/>
  <title type="text">Re: require File.expand_path(File.dirname(__FILE__ ...</title>
  <summary type="html" xml:space="preserve">
  Duh. I should have realized that I should look in the String class for &lt;br&gt; the [] method. Even crazier is the assignment form: &lt;br&gt; &lt;p&gt; str[regexp, fixnum] = new_str &lt;br&gt; &lt;p&gt;I had a hard time finding documentation for __FILE__. It turns out &lt;br&gt; that it&#39;s a Ruby keyword, and a pseudo-variable, like true/false/nil/
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mario Aquino</name>
  <email>mario.e.aqu...@gmail.com</email>
  </author>
  <updated>2009-11-23T20:17:39Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/4b6ace7cac2ddf59?show_docid=4b6ace7cac2ddf59</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/4b6ace7cac2ddf59?show_docid=4b6ace7cac2ddf59"/>
  <title type="text">Re: [stlruby] Re: What is gemcutter and jeweler?</title>
  <summary type="html" xml:space="preserve">
  I&#39;d be willing to do a 15 minute talk on jeweler. I think it&#39;s the &lt;br&gt; bees knees. &lt;br&gt; &lt;p&gt;Sent from my iPhone &lt;br&gt; &lt;p&gt;On Nov 23, 2009, at 10:02 AM, Craig Buchek &amp;lt;craig.buc...@gmail.com&amp;gt; &lt;br&gt; wrote:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ed Howland</name>
  <email>ed.howl...@gmail.com</email>
  </author>
  <updated>2009-11-23T19:35:24Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/45de2f00249f5184/30c17de5858b5d1c?show_docid=30c17de5858b5d1c</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/45de2f00249f5184/30c17de5858b5d1c?show_docid=30c17de5858b5d1c"/>
  <title type="text">Re: [stlruby] Re: require File.expand_path(File.dirname(__FILE__ ...</title>
  <summary type="html" xml:space="preserve">
  Craig, &lt;br&gt; &lt;p&gt;There is some discussion on this in the Ruby dev list (where Matz &lt;br&gt; hangs out). I&#39;m not sure where he is going to end up, #Kernel.__dir__, &lt;br&gt; __dir__(*paths), __DIR__ or __DIR__(*paths). I think the consensus &lt;br&gt; might be for __DIR__ as a constant as you say. You can write your own &lt;br&gt; function that does a similar thing, assuming __DIR__ exists:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Craig Buchek</name>
  <email>craig.buc...@gmail.com</email>
  </author>
  <updated>2009-11-23T18:26:52Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/9928e0f1cd6d9939?show_docid=9928e0f1cd6d9939</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/9928e0f1cd6d9939?show_docid=9928e0f1cd6d9939"/>
  <title type="text">Re: What is gemcutter and jeweler?</title>
  <summary type="html" xml:space="preserve">
  You can still pull down sources from Github via GIT, you just can&#39;t &lt;br&gt; pull them as a single file via gems. As I understand it, the idea is &lt;br&gt; to keep your development in Github (or anywhere else you care to) and &lt;br&gt; push to Gemcutter in addition to that. &lt;br&gt; &lt;p&gt;I don&#39;t think Curt is involved much with the Windows Once-Click
  </summary>
  </entry>
  <entry>
  <author>
  <name>Gordon Thiesfeld</name>
  <email>gthiesf...@gmail.com</email>
  </author>
  <updated>2009-11-23T18:23:42Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/87a5ae0b4f55d5ee?show_docid=87a5ae0b4f55d5ee</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/87a5ae0b4f55d5ee?show_docid=87a5ae0b4f55d5ee"/>
  <title type="text">Re: [stlruby] Re: What is gemcutter and jeweler?</title>
  <summary type="html" xml:space="preserve">
  The commenter you&#39;re talking about is probably Luis Lavena. He took &lt;br&gt; over as maintainer of the OneClick installer - now known as &lt;br&gt; RubyInstaller[1] - in December of 2007[2]. &lt;br&gt; &lt;p&gt;&amp;quot;For at least one year&amp;quot;[3] &lt;br&gt; &lt;p&gt;[1] &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.rubyinstaller.org/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; [2] &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://blog.mmediasys.com/2007/12/18/ya-es-oficial-ruby-for-windows-en-mis-manos/&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ed Howland</name>
  <email>ed.howl...@gmail.com</email>
  </author>
  <updated>2009-11-23T18:02:02Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/e1f8059e10cd41aa?show_docid=e1f8059e10cd41aa</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/ad5ecc82aca002fe/e1f8059e10cd41aa?show_docid=e1f8059e10cd41aa"/>
  <title type="text">Re: [stlruby] Re: What is gemcutter and jeweler?</title>
  <summary type="html" xml:space="preserve">
  Craig, you are probably right about the dependencies. Note net-ssh, &lt;br&gt; json, etc. Needed for the push process, but not for backtracer itself. &lt;br&gt; However, based on your news re: the switch to rubygems.org &lt;br&gt; (Gemcutter), it can&#39;t hurt to have these installed. &lt;br&gt; &lt;p&gt;I hope Curt Hibbs is reading thius. One of the commenters mentioned
  </summary>
  </entry>
  <entry>
  <author>
  <name>Craig Buchek</name>
  <email>craig.buc...@gmail.com</email>
  </author>
  <updated>2009-11-23T16:35:25Z</updated>
  <id>http://groups.google.com/group/stlruby/browse_thread/thread/45de2f00249f5184/1b1045ac4abe0c2a?show_docid=1b1045ac4abe0c2a</id>
  <link href="http://groups.google.com/group/stlruby/browse_thread/thread/45de2f00249f5184/1b1045ac4abe0c2a?show_docid=1b1045ac4abe0c2a"/>
  <title type="text">Re: require File.expand_path(File.dirname(__FILE__ ...</title>
  <summary type="html" xml:space="preserve">
  I don&#39;t much care for allowing __DIR__ to take args as a method. &lt;br&gt; __FILE__ is just a constant String, and I think __DIR__ should mirror &lt;br&gt; its implementation as much as possible. &lt;br&gt; &lt;p&gt;The regex matches up until it reaches a colon, some digits (\d+), and &lt;br&gt; another colon. Then it stores what got matched within the parentheses.
  </summary>
  </entry>
</feed>
