Fix error db and gemfile