rails_gemfile_entry and database_gemfile_entry return objects in rails 4.1, so deal with that