updated gemfile, fixed error inviting users with blank email.