added api gem to gemfile