Make gem compatible with ruby 1.8.7

Two changes in both executables:

  * require rubygems
  * Avoid using multiple splats in method calls