Ruby 试图使rvm工作,但运行时出错

Ruby 试图使rvm工作,但运行时出错,ruby,terminal,rvm,Ruby,Terminal,Rvm,我在运行rvm重新安装1.9.3时出现以下错误,我按照一些建议删除了下面的这些文件和文件夹,现在我甚至在删除rvm并使用curl重新安装后都没有这些文件和文件夹,我该怎么办?我使用了rails安装程序,我想这就是把整个事情搞砸的原因。我只想从头开始 rm -rf /opt/sm rm /etc/rvmrc rm /etc/profile.d/sm.sh 我在尝试安装rvm重新安装1.9.3时也得到了这个输出 $ rvm reinstall 1.9.3 Removing /usr/local/

我在运行rvm重新安装1.9.3时出现以下错误,我按照一些建议删除了下面的这些文件和文件夹,现在我甚至在删除rvm并使用curl重新安装后都没有这些文件和文件夹,我该怎么办?我使用了rails安装程序,我想这就是把整个事情搞砸的原因。我只想从头开始

rm -rf /opt/sm 
rm /etc/rvmrc
rm /etc/profile.d/sm.sh
我在尝试安装rvm重新安装1.9.3时也得到了这个输出

$ rvm reinstall 1.9.3
Removing /usr/local/rvm/src/ruby-1.9.3-p385...
Removing /usr/local/rvm/rubies/ruby-1.9.3-p385...
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p385.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Fetching yaml-0.1.4.tar.gz to /usr/local/rvm/archives
Extracting yaml to /usr/local/rvm/src/yaml-0.1.4
Configuring yaml in /usr/local/rvm/src/yaml-0.1.4.
Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --prefix=/usr/local/rvm/usr --disable-shared', please read /usr/local/rvm/log/ruby-1.9.3-p385/yaml/configure.log
Compiling yaml in /usr/local/rvm/src/yaml-0.1.4.
Error running 'make', please read /usr/local/rvm/log/ruby-1.9.3-p385/yaml/make.log
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.3-p385, this may take a while depending on your cpu(s)...
ruby-1.9.3-p385 - #downloading ruby-1.9.3-p385, this may take a while depending on your connection...
ruby-1.9.3-p385 - #extracting ruby-1.9.3-p385 to /usr/local/rvm/src/ruby-1.9.3-p385
ruby-1.9.3-p385 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p385
ruby-1.9.3-p385 - #configuring
Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --disable-install-doc --prefix=/usr/local/rvm/rubies/ruby-1.9.3-p385 --with-opt-dir=/usr/local/rvm/usr --disable-shared', please read /usr/local/rvm/log/ruby-1.9.3-p385/configure.log
There has been an error while running configure. Halting the installation.
请帮我解决这个问题,我花了很长时间才弄明白

make.log

[2013-02-11 21:27:46] make
make: *** No targets specified and no makefile found.  Stop.

删除文件后,您还需要打开新终端-如果没有帮助-重新启动计算机

删除文件后,您还需要打开新终端-如果没有帮助-重新启动计算机

检查第一条错误消息指示的
/usr/local/rvm/log/ruby-1.9.3-p385/yaml/configure.log
的内容。把它放在某个地方是个好主意;文件可能很大。请检查第一条错误消息指示的
/usr/local/rvm/log/ruby-1.9.3-p385/yaml/configure.log
的内容。把它放在某个地方是个好主意;文件可能很大。我将选择此作为可接受的答案,但不是重新启动,我只是恢复了我的机器,我需要这样做。我将选择此作为可接受的答案,但不是重新启动,我只是恢复了我的机器,我需要这样做。