Welcome to the Treehouse Community
Looking to learn something new?
How am I supposed to replace the project files without getting a bunch of errors?
I have tried to replace my biller project folder with the new project files but when I try to load up the rails server it gives me the error: Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development
I then try to run this command and it aborts my rake saying: rake aborted! uninitialized constant Mysql2::Client::SECURE_CONNECTION
I have looked at the similar questions and answers to this problem but they did not end up working for me
Maciej Czuchnowski36,440 Points
OK, don't treat it as replacing. Just use it as another project. You could also try doing
rake db:create and then
rake db:migrate again. This will apply the project's database with the one from the new migration files. You will lose all data from that database though.