changes gemfile and removes an unused ap call