Fix completion in Ruby 1.8.7

Closes #42