Changed gemfile and migrated database