문제

I am having trouble installing ruby through mac ports. The error that I am receiving is this one:

:error:extract org.macports.extract for port ruby returned: command execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
while executing
"$procedure $targetname"
:info:extract Warning: targets not executed for ruby: org.macports.activate  

Can anyone help with this error? So far I have tried doing:

port -v selfupdate
xcodebuild -license agree

Neither of those seemed to fix my target issue.

Anyone have other tips?

도움이 되었습니까?

해결책 2

To fix this problem what I had to do was go to the MacPorts webpage, download the new Mavericks MacPorts package, and run through that installation. I thought that doing a port -v selfupdate would update my current MacPorts to the Mavericks OS MacPorts but unfortunately it did not.

다른 팁

I am not experienced using macports, and would rather prefer homebrew over it, at the moment.

However, to install Ruby (or specific versions of Ruby), I would really recommend using rbenv or RVM.

It seems that you are new to ruby, and if that is the case, I would further advice you to use rbenv over RVM. You will find it more pleasant, at the moment. Just my 2 cents.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top