Operation 0

Parallel testing of Ruby 1.9 and 1.8

Manfred, Apr 03 at 15:48

It’s actually really easy. Here’s how I did it.

$ svn co http://svn.ruby-lang.org/repos/ruby/trunk ruby19
$ ./configure --prefix=/opt/ruby19
$ make
~ Get coffee
$ sudo make install

Now you have a fresh and cutting edge build of Ruby on your system. Time to install Rubygems.

$ wget "http://rubyforge.org/frs/download.php/34638/rubygems-1.1.0.tgz"
$ tar -xvzf rubygems-1.1.0.tgz
$ cd rubygems-1.1.0
$ sudo /opt/ruby19/bin/ruby setup.rb

Finally we need ZenTest, because it includes autotest.

$ /opt/ruby19/bin/gem install ZenTest

Now that we have all the prerequisites we just start two autotests.

You must have this pろbれm all the time too

Manfred, Mar 30 at 09:28
alias らけ='rake'

Implements the blablabla pattern

Manfred, Feb 29 at 11:48

Did you ever hear someone say, “Oh! But that’s the ___ pattern!”

class Object
  def using(object, &block)
    object.instance_eval(&block); object
  end

  def returning(value)
    yield(value)
    value
  end
end

class Index
  def build
  end

  def self.build
    index = new
    index.build
    index
  end

  def self.build2
    using(new) { build }
  end

  def self.build3
    using new do
      build
    end
  end

  def self.build4
    returning new do |index|
      index.build
    end
  end

  def self.build5
    (index = new).build; index
  end
end

Cleaning up the campsite

Manfred, Sep 23 2007 at 19:14

Don’t think anyone has abandoned the campsite, we’re just cleaning it up. Zimbatm is cleaning up the bugs in Trac so we can work up to a new stable release.

Huzza!

Ruby banter, shore and the boat

Manfred, May 09 2007 at 17:14

Oh my, where did the time go? Anyway, I’m here to tell you Norbert and I are going to give a little talk at the upcoming RubyEnRails conference in Amsterdam. We’ve been preparing extensively for this the last few years of our life and have gathered quite a lot of cool stuff. So if you’re in the neighbourhood, please drop by.

Norbert and me on what used to be the ‘Westerdok’ in years past

On the photo you can clearly see that we’ve tamed the sea near our office.