Recently playing Ruby, good to say, very feeling; OpenSUSE 12.3 on an old machine and then using RVM to install Ruby, in fact, any good release package Ruby is better than using RVM installed Ruby, personally feel (defy).
Then, when you install some software with a gem, you will receive the following error:
Copy Code code as follows:
' No such file to load-OpenSSL (loaderror) '
The simple reason is that Ruby's OpenSSL support module is not installed and is installed under OpenSUSE:
Copy Code code as follows:
sudo zypper in Libopenssl-devel
Then compile the OpenSSL module and enter the ~/.RVM/SRC/RUBY-XXX/EXT/OPENSSL:
Copy Code code as follows:
Ruby Extconf.rb
Make
Make install
Ok,done.
Summary, in fact, many similar errors can be solved by the above way, such as no readline error, you can install Readline-devel, and then enter the ~/.rvm/src/ruby-xxx/ext/readline, execute compile, this is very good, cool~