Created
September 9, 2011 17:25
-
-
Save HungYuHei/1206810 to your computer and use it in GitHub Desktop.
ruby openssl or readline loaderror
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 安装了rvm后,openssl和readline LoadError | |
| 当不能load openssl的时候,用以下方法解决 | |
| $ sudo apt-get install libssl-dev | |
| $ cd ~/.rvm/src/ruby-1.8.7/ext/openssl | |
| $ ruby extconf.rb | |
| $ make && make install | |
| 当不能load readline的时候,用以下方法解决 | |
| $ sudo apt-get install libreadline5-dev | |
| $ cd ~/.rvm/src/ruby-1.8.7/ext/readline | |
| $ ruby extconf.rb | |
| $ make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment