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 trialJason Law
15,254 Pointsrbenv install 2.0.0-p353
Hello, I am trying to install ruby on ubuntu. I made it up to the rbenv install 2.0.0-p353 step, but then I get an error that states,
"jason@jason-VirtualBox:/$ rbenv install 2.0.0-p353 Downloading yaml-0.1.6.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749 Installing yaml-0.1.6... Installed yaml-0.1.6 to /home/jason/.rbenv/versions/2.0.0-p353
Downloading ruby-2.0.0-p353.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/465afc77d201b5815bb7ce3660a1f5a131f4429a3fa483c126ce66923e4726cc Installing ruby-2.0.0-p353...
BUILD FAILED (Ubuntu 14.04 using ruby-build 20150502)
Inspect or clean up the working tree at /tmp/ruby-build.20150503194015.30145 Results logged to /tmp/ruby-build.20150503194015.30145.log
Last 10 log lines: minitest 4.3.2 psych 2.0.0 rake 0.9.6 rdoc 4.0.0 test-unit 2.0.0.0 The Ruby openssl extension was not compiled. Missing the OpenSSL lib? Configure options used: --prefix=/home/jason/.rbenv/versions/2.0.0-p353 LDFLAGS=-L/home/jason/.rbenv/versions/2.0.0-p353/lib CPPFLAGS=-I/home/jason/.rbenv/versions/2.0.0-p353/include ".
Can you help me figure out why I am getting this error so I can go to the next step? Thanks.
1 Answer
Van Wilson
11,806 PointsI seem to remember having this problem a while back, and searching on line I found several possible solutions.
The one that I think helped me was this one (on Ubuntu, it's different for Mac and Windows):
sudo apt-get install libssl-dev
If that doesn't fix it, there are several other suggestions in the thread where I found that : https://github.com/sstephenson/ruby-build/issues/377
Hope that helps.
Jason Law
15,254 PointsJason Law
15,254 PointsThank you. The libsssl-dev install helped.