Ruby and “You must recompile Ruby with OpenSSL support or change the sources in your Gemfile”

前端 未结 12 1769
庸人自扰
庸人自扰 2020-12-07 20:31

Using rvm I upgraded my ruby to 1.9.3-p392, also added 2.0.0, anytime I try to use this version when I run my bundle command I get this error.

Could not load         


        
12条回答
  •  鱼传尺愫
    2020-12-07 20:52

    According to the following question: How to tell which openssl lib is actually being used by an RVM-installed ruby

    It seems that the options --with-openssl-dir=... is no longer valid as of Ruby 1.9.3. I tried

    rvm install 1.9.3 --with-opt-dir=/usr/local --with-openssl
    

    and it worked.

提交回复
热议问题