Rvm needs to be used in Ubuntu recently, so there should be no problem. This is because the installation of rvm on the macbook was very smooth. However, after rvm is installed in ubuntu, openssl and readline cannot be loaded. I found this reference after searching for half a day. Now I want to record it. When loadopenssl is not available, use the following method to solve $ sudoapt-getinstalllibssl-dev $ cd ~ /.
Rvm needs to be used in Ubuntu recently, so there should be no problem. This is because the installation of rvm on the macbook was very smooth.
However, after rvm is installed in ubuntu, openssl and readline cannot be loaded. I found this reference after searching for half a day. Now I want to record it.
When openssl cannot be loaded, use the following methods
$ Sudo apt-get install libssl-dev
$ Cd ~ /. Rvm/src/ruby-1.8.7/ext/openssl
$ Ruby extconf. rb
$ Make & make install
When you cannot load readline, use the following methods
$ Sudo apt-get install libreadline5-dev
$ Cd ~ /. Rvm/src/ruby-1.8.7/ext/readline
$ Ruby extconf. rb
$ Make & make install