Fix compatibility with Ruby 1.8
Fix compatibility with Ruby 1.8

While it is recommended to use Ruby 1.9 or 2.0 on workstation, we can
still try to be compatible with 1.8.

Thanks to @edwardchuang for finding this!

analog-analytics/knife-solo,coletivoEITA/knife-solo,leonid-shevtsov/knife-solo,leonid-shevtsov/knife-solo,matschaffer/knife-solo,chadzilla2080/knife-solo,coletivoEITA/knife-solo,leonid-shevtsov/knife-solo,analog-analytics/knife-solo,coletivoEITA/knife-solo,a2ikm/knife-solo,chadzilla2080/knife-solo,chadzilla2080/knife-solo,matschaffer/knife-solo,a2ikm/knife-solo,analog-analytics/knife-solo,a2ikm/knife-solo,matschaffer/knife-solo