因此,我尝试在 VirtualBox 上运行的新 ubuntu 12.04LTS 上通过 rbenv 安装 ruby。
我从 https://github.com/sstephenson/rbenv 获得了 rbenv,从https://github.com/sstephenson/ruby-build获得了ruby -build 。
然后我运行以下但构建失败:(
rbenv install 2.0.0-p0
Downloading ruby-2.0.0-p0.tar.gz...
-> http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz
Installing ruby-2.0.0-p0...
BUILD FAILED
Inspect or clean up the working tree at /tmp/ruby-build.20130506102349.2564
Results logged to /tmp/ruby-build.20130506102349.2564.log
Last 10 log lines:
installing default gems: /home/shivin/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0 (build_info, cache, doc, gems, specifications)
bigdecimal 1.2.0
io-console 0.4.2
json 1.7.7
minitest 4.3.2
psych 2.0.0
rake 0.9.6
rdoc 4.0.0
test-unit 2.0.0.0
The Ruby openssl extension was not compiled. Missing the OpenSSL lib?
任何帮助,将不胜感激。如果您需要更多详细信息,请告诉我。谢谢!