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 trialjamesrauhut
4,785 Pointsmysql2 gem not found for rake db:create
I can't really figure out why the mysql2 gem can't be found. " gem 'mysql2' " is in the Gemfile for the project. I have tried " gem install mysql2 " and " bundle install " but am getting errors. Any advice?
Info: Windows 8.1, using Git Bash
2 Answers
Artem Prytkov
11,932 PointsFirst advice: if you have errors paste them into your post, so we could better understand their origin
Hampton Catlin
Treehouse Guest Teacher[EDIT] Mis-read the first post. Giving the error would really help. Probably has to due with some library settings or somesuch. Typically professional programmers do this:
1) Copy the most unique part of the error that doesn't have info about your system in it 2) Paste it into google 3) Find some blog post or stackoverflow post where someone solved the same problem 4) Follow their instructions and maybe it works, maybe it doesn't 5) If it doesn't, rinse and repeat ;)