Update Rakefile for the ruby 1.9 environment

Signed-off-by: Ben Walton <bdwalton@gmail.com>
Update a case statement for ruby 1.9 compatibility

Signed-off-by: Ben Walton <bdwalton@gmail.com>