Welcome to the Treehouse Community
Looking to learn something new?
Issac Gonzalez5,354 Points
Trying to install ruby and get error - "fatal error: 'stdlib.h' file not found #include < stdlib.h> "
When trying to install ruby via terminal I get the following error.
" ./cryptlib.h:62:10: fatal error: 'stdlib.h' file not found #include < stdlib.h>
1 error generated. make: *** [cryptlib.o] Error 1 make: *** [build_crypto] Error 1 "
My XCode is up to date.
Please let me know what I should do.
Stone Preston42,016 Points
have you installed the xcode developer tools? try opening terminal and running the following command:
a window should pop up about installing the command line tools. you most likely need to install these to install rails/ruby. install them then try installing ruby again
Isaac, sounds like you're on OS X. What do you see when typing "ruby -v" at the command line?
Great! Isaac, I suggest marking Stone's answer "Best Answer".