updated gemfile for curl. Added index to indexes record