Read my latest article: 8 things I look for in a Ruby on Rails app (posted Thu, 06 Jul 2017 16:59:00 GMT)

Ruby 1.8.3 released, but Rails not liking it

Posted by Wed, 21 Sep 2005 00:23:00 GMT

Ruby 1.8.3 was released this evening. Yay!

Problem is?

/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13:in `remove_const': constant Logger::Format not defined (NameError)

Every Rails application that I tried with it died. So the solution?

cd ../ruby-1.8.2
./configure && make && make install

No 1.8.3 for PLANET ARGON yet.

The Portland Ruby Brigade hackfest roundup

Posted by Tue, 20 Sep 2005 11:07:00 GMT

John Labovitz has a nice and detailed overview of everything that went down at the Portland Ruby Brigade hackfest last weekend. They still quite a bit of work to do, so if you live in the Portland area and want to get involved with the local Ruby group, this would be a good time. :-)

If you are already part of the group and want to help promote it, flaunt PDX.rb with a button on your blog or site. ;-)

<a href=""><img src=""  alt="Portland Ruby Brigade" /></a>

The svn+rbot plugin, so far

Posted by Thu, 15 Sep 2005 18:02:00 GMT

3 comments Latest by test Mon, 12 Jun 2006 08:55:06 GMT

Ben Bleything and I have put the plugin that we made up in our PDX.rb subversion repository. You can check it out here

Requires rbot and subversion.

< pdxrbot> robbyrussell * pdxrbot:/ [45] - Quick addition of the two author names :-)
< pdxrbot> robbyrussell * www:/ [5] - removing the logfiles from svn
< pdxrbot> ben * pdxrbot:/ [46] - Fix the post-commit hook so that relative paths get expanded
< pdxrbot> robbyrussell * www:/ [6] - ignoring the files in /log/ that end in .log

UPDATE This is what it spits back now. :-)

 < pdxrbot> svn.commit( pdxrbot, { :author => 'robbyrussell', :rev => 67, :log => 'another test of color/syntax...more' } )

Yes… the bot now responds with a subversion commit…and we made it look like ruby code! syntax colors and all!

the bizarre love triangle of rbot, subversion, and drb

Posted by Thu, 15 Sep 2005 05:27:00 GMT

In our pursuit to get stuff ready for the PDX.rb hackfest this weekend, Ben Bleything and I decided that it would be a cool idea to get rbot to monitor the groups subversion repositories.

We asked around a few IRC channels and people had different ways of handling this. The easy route looked to be to parse a RSS feed from Trac. (boring!)

So, in an effort to make it interesting and allow for a little creativity with rbot-and potentially open the doors to other ideas-we opted to build 2 pieces. One would be a post-commit script that would run after a svn commit and the other would be a new plugin in rbot, which started an instance of DRb.

The basic idea…

rbot starts drb on start

svn commit calls drb client, sends notifcation

Yes! I managed to sneak DRb somewhere else that it probably didn’t need to be. It was actually a good way to figure out how to properly tame the crazy lion that is DRb. It’s so sexy, but I am so afraid that it will scratch me if I get too close. It scratched a little tonight, but then the kind folks in #ruby-lang gave me a band-aid and I was on my way. Guess what? I tamed the lion!

The sad part is that I got the thing to properly work about 25 seconds after Ben logged off of IRC and here I am a few horus later amusing myself with test svn commits and telling the whole world. That’s right… he’s sleeping… and dreaming about how the lion is still out to attack him and you all know that the lion is nicely tucked away. { 
  # the lion is here 

We couldn’t have the lion holding the rbot in a headlock the whole time.

So, the lion is nice and it is our new friend. We now have instant notifications of when our repositories get commits in #pdx.rb.

Once we get it to format everything nice and pretty (color-wise), we’ll make it available for all of you rbot and subversion folks.


Posted by Tue, 13 Sep 2005 22:40:00 GMT

Last month, Martin Fowler posted an entry on his bliki that discussed the CollectionClosureMethod. He showed examples in Smalltalk, Lisp, and… Ruby!. It’s worth the read and he updates his bliki fairly regularly-so, I would suggest that you add his RSS feed to your RSS reader. :)

sortedEmployees = employees.sort {|a,b| a.lastname <=> b.lastname}


Why’s (Poignant) Guide to Ruby in PDF form!

Posted by Tue, 13 Sep 2005 10:57:00 GMT

The famous, Why’s (Poignant) Guide to Ruby has been released as a nicely formatted PDF.

Thanks to Leon Spencer for providing the world with this PDF.


Older posts: 1 ... 8 9 10 11