ruby version to 2.1.1 and fix for api key