changed gemfile for compatibility with aws