Skip to content

Instantly share code, notes, and snippets.

@HungYuHei
Created September 9, 2011 17:25
Show Gist options
  • Select an option

  • Save HungYuHei/1206810 to your computer and use it in GitHub Desktop.

Select an option

Save HungYuHei/1206810 to your computer and use it in GitHub Desktop.
ruby openssl or readline loaderror
安装了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