Walk around for a syntax problem

There is a new release of Ruby Gem that does not support ruby 1.8.7
anymore. This is a walkaround for that.