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!

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


installing rails env

hey everyone, tried updating rbenv, got this service message, how can i fix this?

Downloading ruby-2.0.0-p247.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/c351450a0bed670e0f5ca07da3458a5b Installing ruby-2.0.0-p247...


Inspect or clean up the working tree at /var/folders/p6/6f6kjls95wd25p_7b_xf1xxw0000gn/T/ruby-build.20140402190243.48427 Results logged to /var/folders/p6/6f6kjls95wd25p_7b_xf1xxw0000gn/T/ruby-build.20140402190243.48427.log

Last 10 log lines: installing default gems: /Users/AuralisaM/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0 (build_info, cache, doc, gems, specifications) bigdecimal 1.2.0 io-console 0.4.2 json 1.7.7 minitest 4.3.2 psych 2.0.0 rake 0.9.6 rdoc 4.0.0 test-unit The Ruby openssl extension was not compiled. Missing the OpenSSL lib?

2 Answers

John O.
John O.
4,680 Points

What version of OS X are you running? Are you using Homebrew?

Looks like you are missing OpenSSL library file(s).

If you have Homebrew try installing Ruby by prefixing your rbenv command with the following options:

CFLAGS='-g -O2' RUBY_CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` rbenv install 2.0.0-p247
Stone Preston
Stone Preston
42,016 Points

did you try reinstalling using the instructions provided here