gpt4 book ai didi

ruby-on-rails - Ruby 安装退出并出现 Error running 'requirements_osx_port_update_system ruby-2.0.0-p247' ,

转载 作者:太空宇宙 更新时间:2023-11-03 16:03:43 24 4
gpt4 key购买 nike

我使用以下命令在 os x 10.8.5 的 mac 上安装 ruby​​:

$ \curl -L https://get.rvm.io | bash -s stable --ruby

突然间我得到了以下错误:

Error running 'requirements_osx_port_update_system ruby-2.0.0-p247',

please read /Users/home/.rvm/log/1380202439_ruby-2.0.0-p247/update_system.log

Requirements installation failed with status: 1.

这是日志文件的内容:

[2013-09-26 17:03:59] requirements_osx_port_update_system requirements_osx_port_update_system () { __rvm_try_sudo port -dv selfupdate || return $? } current path: /Users/home/.rvm/src/rvm command(2): requirements_osx_port_update_system ruby-2.0.0-p247 DEBUG: Copying /Users/home/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs ---> Updating MacPorts base sources using rsync receiving file list ... done base.tar

sent 13396 bytes received 10185 bytes 3627.85 bytes/sec total size is 4925440 speedup is 208.87 receiving file list ... done base.tar.rmd160

sent 64 bytes received 635 bytes 199.71 bytes/sec total size is 512 speedup is 0.73 DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem DEBUG: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base.tar MacPorts base version 2.1.3 installed, DEBUG: Rebuilding and reinstalling MacPorts if needed MacPorts base version 2.2.0 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/ports.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs receiving file list ... done ports.tar

sent 51725 bytes received 31635 bytes 11114.67 bytes/sec total size is 54435840 speedup is 653.02 DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/ports.tar.rmd160 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs receiving file list ... done ports.tar.rmd160

sent 64 bytes received 636 bytes 155.56 bytes/sec total size is 512 speedup is 0.73 DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem DEBUG: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports.tar DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/PortIndex_darwin_12_i386/PortIndex /opt/local/var/macports/sources/rsync.macports.org/release/tarballs receiving file list ... done PortIndex "~/.rvm/log/1380202439_ruby-2.0.0-p247/update_system.log" 176L, 8429C

最佳答案

你应该卸载 macports...自制软件和 macports 不能很好地混合。从终端发出命令:

$ sudo port -fp uninstall installed

http://guide.macports.org/chunked/installing.macports.uninstalling.html

您可能还需要清理自制软件

$ brew cleanup

然后你应该可以通过自制软件安装。

关于ruby-on-rails - Ruby 安装退出并出现 Error running 'requirements_osx_port_update_system ruby-2.0.0-p247' ,,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19030132/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com