Question

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?

Was it helpful?

Solution 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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top