RAILS,bundle install返回 – 未定义的符号:SSLv2_method

可能重复:
未定义的符号:运行bundle install时的SSLv2_method

我尝试“捆绑安装”我的Rails项目,但我有这个错误:

Fetching gem metadata from https://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! /home/vekozlov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /home/vekozlov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/openssl.so: undefined symbol: SSLv2_method - /home/vekozlov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/openssl.so (LoadError) 

我找到了这种情况( Ubuntu和SSLv2_method的未定义符号 ),但我不明白如何在Ubuntu 12.04 x64中修复它

谢谢你的帮助。

UPD:它对我有用(俄语)

http://awolf.ru/rails-on-ubuntu-with-rvm/

请按照以下步骤解决问题:

 $ source ~/.rvm/scripts/rvm $ rvm pkg install zlib $ rvm pkg install openssl $ sudo apt-get install libreadline-dev $ rvm pkg install readline $ rvm install 1.9.3 --with-openssl-dir=$rvm_path/usr $ gem install rails