added better errors to gemfile, test