doc: code should target Ruby 1.8.7
Merge pull request #2533 from rolandwalker/doc_ruby_version

doc: code should target Ruby 1.8.7