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

Development Tools

Charutha Bandara
Charutha Bandara
5,958 Points

rbenv install ruby failed

I'm trying to install ruby using this video: http://teamtreehouse.com/library/installing-a-ruby-development-environment/installing-a-ruby-development-environment/installing-ruby-on-mac

I was doing fine installing it but then my laptop died so I tried to install it again and terminal gave me this error

Charuthas-MacBook-Pro:~ charuthabandara$ rbenv install 2.1.5
Downloading openssl-1.0.1j.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/1b60ca8789ba6f03e8ef20da2293b8dc131c39d83814e775069f02d26354edf3
Installing openssl-1.0.1j...

BUILD FAILED (OS X 10.10 using ruby-build 20141113-17-gaa1976b)

Inspect or clean up the working tree at /var/folders/mv/2ltq_76x52vd5t1rc2xb3j140000gn/T/ruby-build.20141127182036.863
Results logged to /var/folders/mv/2ltq_76x52vd5t1rc2xb3j140000gn/T/ruby-build.20141127182036.863.log

Last 10 log lines:
installing man7/des_modes.7
installing man3/dh.3
installing man3/dsa.3
installing man3/ecdsa.3
installing man3/engine.3
installing man3/err.3
installing man3/evp.3
installing man3/hmac.3
/bin/sh: /Users/charuthabandara/.rbenv/versions/2.1.5/openssl/ssl/man/man3/hmac.3: Too many levels of symbolic links
make: *** [install_docs] Error 1
Charuthas-MacBook-Pro:~ charuthabandara$

1 Answer

Ralph King
Ralph King
3,819 Points

Did you get this working?

That error message in Unix usually means you have a circular path somewhere. Check your path:

echo $PATH

or your bash profile and see if you can find the problem.

Charutha Bandara
Charutha Bandara
5,958 Points

Yes, I just uninstalled it and reinstalled it