openssl error wehn compiling Ruby from source

Posted by Florian Salihovic on Stack Overflow See other posts from Stack Overflow or by Florian Salihovic
Published on 2013-10-20T09:51:01Z Indexed on 2013/10/20 9:53 UTC
Read the original article Hit count: 307

Filed under:
|
|

Prelude: I don't want to use rvm.

I installed ruby 2 with the following configuration on Mac OS X 10.8.5

./configure --prefix=/usr/local \
            --enable-pthread \
            --with-readline-dir=/usr/local \
            --enable-shared

It is installed, version is printed correctly ... Now, when invoking gem install jekyll

I get the following error:

ERROR:  Loading command: install (LoadError)
        cannot load such file -- openssl
ERROR:  While executing gem ... (NoMethodError)
        undefined method `invoke_with_build_args' for nil:NilClass

I installed openssl into /usr/local but i'm really banging my head against the wall on how installing gems. It can't be that big of a deal right?

© Stack Overflow or respective owner

Related posts about gem

Related posts about openssl