cleaning up gemfile, adding better errors