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

前端 未结 13 1364
难免孤独
难免孤独 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条回答
  •  旧时难觅i
    2020-11-28 23:14

    I had the same problem with the same OS version. I use rvm and followed the steps in this command:

    $ rvm requirements
    

    Following those instructions, I ran:

    $ brew update
    $ brew tap homebrew/dupes
    $ brew install bash curl git
    $ brew install autoconf automake apple-gcc42 libtool pkg-config openssl readline libyaml sqlite libxml2 libxslt libksba
    

提交回复
热议问题