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

Ruby

Jesse Fister
Jesse Fister
11,968 Points

rails install

when installing rails (i'm using Mac OS X el capitan) I get to the point where i am creating a new app and i receive the following message:

Could not load OpenSSL. You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using RVM are available at rvm.io/packages/openssl.

I went to the prescribed site and used the magic they wanted me to try to no avail. I receive this message:

Operation not permitted

What in the world??

1 Answer

Ethan Rivas
Ethan Rivas
9,979 Points

You can try following this steps:

1) rvm get stable

2) brew install libyaml

3) rvm pkg install openssl

4) rvm install ruby-2.0.0 --with-openssl-dir=$HOME/.rvm/usr

5) rvm use ruby-2.0.0

source link with more possible solutions: http://stackoverflow.com/questions/15212104/ruby-openssl-issues-on-mac