adding support to ruby 2.1.1 and 2.1.2