Rails LoadError with openssl.so: undefined symbol: d2i_ECPKParameters

后端 未结 3 1255
遇见更好的自我
遇见更好的自我 2021-01-07 11:21

rails --version

Rails 3.2.1

ruby -v

ruby 1.9.3p0 (2011-10-30) [x86_64-linux]

rpm -qa | grep openssl

openssl-0.9.8e-20.el5 opens

3条回答
  •  死守一世寂寞
    2021-01-07 12:08

    rvm pkg has been deprecated.

    Instead try this if you are running the latest version of rvm (e.g. 1.21):

    rvm autolibs enable
    rvm reinstall 
    

    Where is the version of ruby you are using. (e.g. rvm reinstall 1.9.3)

    After you reinstall ruby check your .ruby-version file (replaces .rvmrc in latest version of rvm) and ensure it is set to the new version of ruby.

    I ended up removing the gemset and recreating it before everything worked correctly.

提交回复
热议问题