fixing gemfile and adding localhost in dev for devise