Eliminating Ruby warnings

Cleaned up some Ruby warnings that shows up when running under Ruby 2.1.2