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 trialAlejandro Jiménez
10,846 PointsCan't install sqlite3 gem
When I type gem install sqlite3 it gives me the error: Failed to build gem native extension.
Already installed the devkit and bundler. Using windows8.1 and ruby 2.0.0 32 bit
4 Answers
Naomi Freeman
Treehouse Guest TeacherWhat is the windows equivalent of installing xcode command line tools?
I think you're missing those. I could be wrong though, because it's been a long time since I installed Rails on windows.
John Breiner
6,918 PointsI'm having the same issue with the 64 bit version.
David Rynn
10,554 PointsI had the same issue then went through the Windows 8 control panel to uninstall Ruby and all associated installers (I may have had a couple of ruby and rails installations from before). Then I re-installed using Ruby v. 1.9.3. Here's the link: http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-1.9.3-p545.exe?direct
and then I used the associated devkit. Link:
https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
Then I carefully followed the directions for the rest of the video. Everything worked for me. Some of the installations pause for a minute or two while they're doing their thing, so be patient.
Hope this helps.
Michael Day
10,101 Pointstry this gem install sqlite3-ruby instead of just sqlite3