使用rbenv BUILD FAILED安装ruby-2.0.0-p0
发布时间:2020-12-16 19:14:55 所属栏目:百科 来源:网络整理
导读:所以我尝试在我运行在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-p0Down
所以我尝试在我运行在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,但如果您不需要它们则无害.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |