Added support for Ruby 2.1.1

Tested this with my own site and it works fine.
Merge pull request #1937 from martijnrusschen/patch-1

Added support for Ruby 2.1.1