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 trial
Tony McCabe
8,445 PointsRuby on Rails problem install json Windows 7
$ gem install json
Temporarly enhancing PATH to include DevKit....
Building native extensions. This could take a while......
ERROR: error installing json:
ERROR: failed to build gem native extension.
C:/Ruby200-x64/bin/ruby.exe extconf.rb
creating makefile
make
generating generator-x64-ming32.def
compiling generator.c
make: x86_64-w64-ming32-gcc: Command not found
make: ***[generator.o] Error 127
3 Answers
James Barnett
39,199 PointsGoogle has informed me that you need to install DevKit to compile Ruby gems on Windows
Instructions for installing DevKit here: http://stackoverflow.com/questions/7780756/cannot-install-json-gem-in-rails-using-windows
P.S. - It was the 2nd link on Goolge for the search string of failed to build gem native extension json windows
Tony McCabe
8,445 PointsCool thanks, Sorry, but they always say talk to the genius, they have all the answers. If I was a genius I would not need you guy's.
Tony McCabe
8,445 PointsIn fact, I love Treehouse.com, because its like going to school for dirt cheap. You also have all the support from you guy's to help those who are seriously interested in chaging careers, or just trying to develop a hobby. Most importantly, I had the funds I would invest in your business. You guy's are great and very helpful. Just keep at it!
James Barnett
39,199 PointsJames Barnett
39,199 PointsHey Tony McCabe are you trying to follow
It's generally considered poor form to make a forum post that is just a block of code.
Here a few things to include:
Any time you get an error the first thing you should do is try to Google the error, give that a shot for a about 30 minutes before asking for help.