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
Tina Stith-Twine
832 PointsRails TO Do
Unable to download the latest ruby version on Mac. I followed all of Jason's instructions but when I type rbenv install (current ruby-2.1.0) I get the following error below:
tmsd1$ rbenv install 2.1.0 Downloading openssl-1.0.1e.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/66bf6f10f060d561929de96f9dfe5b8c Installing openssl-1.0.1e... Installed openssl-1.0.1e to /Users/tmsd1/.rbenv/versions/2.1.0
Downloading ruby-2.1.0.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/9e6386d53f5200a3e7069107405b93f7 Installing ruby-2.1.0...
BUILD FAILED
Inspect or clean up the working tree at /var/folders/bz/5nzrmw813x32vsrlzy8vfc740000gn/T/ruby-build.20140116165936.66441 Results logged to /var/folders/bz/5nzrmw813x32vsrlzy8vfc740000gn/T/ruby-build.20140116165936.66441.log
Last 10 log lines: file.c:261: error: ‘m’ undeclared (first use in this function) file.c:261: error: ‘kCFStringNormalizationFormC’ undeclared (first use in this function) file.c:262: error: ‘all’ undeclared (first use in this function) file.c:263: error: ‘kCFStringEncodingUTF8’ undeclared (first use in this function) file.c:263: error: ‘buflen’ undeclared (first use in this function) file.c:265: error: ‘UInt8’ undeclared (first use in this function) file.c:265: error: expected expression before ‘)’ token file.c:269: error: ‘s’ undeclared (first use in this function) make: *** [file.o] Error 1 make: *** Waiting for unfinished jobs.... new-host:~ tmsd1$
I could greatly use some assistance with this not sure what it's not downloading. Thanks is advance.
2 Answers
Brandon Barrette
20,485 PointsAre you using Mavericks (OS X 10.9)?
Edward Jasper
Courses Plus Student 4,981 PointsI am experiencing the same issue. Did anyone find out the answer??
Rob Matthews
Courses Plus Student 207 PointsRob Matthews
Courses Plus Student 207 PointsI am using maverick 10.9.1 and go the exact same error. Do I need homebrew before I drop the 'rbenv install 2.1.0' command?