所以我尝试在我运行在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?
任何帮助,将不胜感激.如果您需要更多详细信息,请与我们联系.谢谢!
解决方法
你将需要libssl-dev.为了获得最佳结果,请安装rvm autolibs函数将为您安装的所有
requirements.其中一些(如sqlite3)假设您最终想要安装Rails,但如果您不需要它们则无害.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。