Fix db and gemfile