adding 1.8.x handling to Gemfile