[英]installing ruby with rbenv on Ubuntu server 13.04
Edit1: the link in the answer from amit karsale is the tutorial I was follwoing originally and does not help me because of the error below Edit1:amit karsale的答案中的链接是我最初关注的教程,由于以下错误而没有帮助
I am trying to use rbenv to install ruby so I can set up rails on my server. 我正在尝试使用rbenv安装ruby,以便可以在服务器上设置rails。 I have been banging my head against the wall and I am sure it is something simple
我一直在撞墙,我敢肯定这很简单
when I run sudo rbenv install it clones from github and runs for a minute then I get 当我运行sudo rbenv install时,它会从github克隆并运行一分钟,然后我得到
Installing ruby-2.0.0-dev...
BUILD FAILED
Inspect or clean up the working tree at /tmp/ruby-build.20131101165913.25770
Results logged to /tmp/ruby-build.20131101165913.25770.log
Last 10 log lines:
DLDFLAGS = -fstack-protector -pie
SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
generating miniprelude.c
executable host ruby is required. use --with-baseruby option.
make: *** [miniprelude.c] Error 1
此链接将使您得到解决,它也对我有帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.