解决:rake db:migrate no such file to load openssl

[root@localhost redmine]# rake db:migrate
(in /usr/local/redmine)
rake aborted!
no such file to load -- openssl

(See full trace by running task with --trace)
[root@localhost redmine]# yum install openssl
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Package openssl-0.9.8e-12.el5_4.6.i686 already installed and latest version
Nothing to do

进入ruby源码目录

cd ext/openssl

ruby ./extconf.rb

make

make install

原文地址:https://www.cnblogs.com/jifeng/p/1831006.html