ruby 2.0 rails gem install error “cannot load such file — openssl”

前端 未结 13 1341
难免孤独
难免孤独 2020-11-28 22:12

I am using osx 10.8.2 installed ruby 2.0 and.... got this when trying to run \"sudo gem install rails\"

$         


        
13条回答
  •  旧巷少年郎
    2020-11-28 23:02

    Make sure to check out this page on the rvm site: https://rvm.io/packages/openssl/

    Running

    rvm requirements run

    gave me:

    Missing required packages: autoconf, automake, libtool, pkg-config, apple-gcc42, readline, libxml2, libxslt, libksba, openssl, sqlite

    after brew install autoconf automake ...

    I was able to rvm reinstall 2.0.0 without openssl errors

提交回复
热议问题