Update gems to the latest version.

Update gems to the latest version.
Update Rspec tests to be compatible with Rspec 2.x (no new tests).