Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMatt Young
6,348 PointsHow to set up a new project using an existing database and the provided project files.
I've been stuck on this step for weeks and it's driving me mad. I've followed the help and instructions in the other questions but always get errors. Most recently:
An error occurred while installing mysql2 (0.3.15), and Bundler cannot continue.
I'm on Windows.
Does anyone know what needs to be done to set up a new project using the provided project files?
Alex Li
1,251 PointsMatt's solution worked for me too. Think the gemfile was just out of date.
Thanks a lot Matt!
Matt Young
6,348 PointsMatt Young
6,348 PointsOkay, so just in case anyone else is pulling their hair out at this point.
The gemfile in Hampton's updated project uses different versions of rails, mysql etc. I replaced the gemfile with my original gemfile and also ran bundle update. That seemed to fix a lot.
Then in database.yml I had to update the database name, to the new one I set up.