Rails 3 - no such file to load — openssl

前端 未结 10 1327
忘了有多久
忘了有多久 2020-12-04 16:43

when running a Rails server, I get the following error: no such file to load -- openssl

I try a solution I find online. I go to ~/.rvm/src/ruby-1.9.2-head/ext/openss

10条回答
  •  生来不讨喜
    2020-12-04 17:12

    For ubuntu, I did the following:

    apt-get install libssl-dev
    cd ruby-1.9(source directory used to install ruby)/ext/openssl
    ruby extconf.rb
    make
    make install
    

提交回复
热议问题