Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


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