【发布时间】:2013-04-12 01:52:11
【问题描述】:
RVM 已安装并正在运行。我正在尝试安装 Ruby 2.0,但是我尝试安装的任何版本都会发生这种情况。这是没有 ruby 的全新安装的 rvm。我正在运行 Debian Squeeze。
运行后
rvm install 2.0
我收到此错误:
Installing Ruby from source to: /home/user/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)...
ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, this may take a while depending on your connection...
ruby-2.0.0-p0 - #extracted to /home/user/.rvm/src/ruby-2.0.0-p0 (already extracted)
ruby-2.0.0-p0 - #configuring...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Error running './configure --prefix=/home/user/.rvm/rubies/ruby-2.0.0-p0 --disable-install-doc --enable-shared',
please read /home/user/.rvm/log/ruby-2.0.0-p0/configure.log
There has been an error while running configure. Halting the installation.
我在阅读 /home/user/.rvm/log/ruby-2.0.0-p0/configure.log 时看到此错误
checking if make is GNU make... ./configure: line 18790: make: command
not found no checking for safe null command for make... configure:
error: no candidate for safe null command
然后我运行:
rvm install 2.0.0 --autolibs=4 --debug
然后我得到这个错误
ruby-2.0.0-p0 - #configuring... Error running './configure
--prefix=/home/user/.rvm/rubies/ruby-2.0.0-p0 --disable-install-doc --enable-shared', please read /home/user/.rvm/log/ruby-2.0.0-p0/configure.log There has been an error while running configure. Halting the installation.
__rvm_rm_rf already gone: /home/user/.rvm/tmp/26623*
在这之后我不知道该怎么做
【问题讨论】:
-
你安装了
make吗? -
它看起来像一个错误,为 RVM 打开一张票 => github.com/wayneeseguin/rvm/issues
-
我安装了“make”并用 ruby 重新安装了 rvm,它可以工作了。谢谢你,感谢你的帮助。