Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rvm install error running 'requirements_osx_port_install_port'

Im trying to install rvm on my machine and select a version but im getting this horrible error can anybody help? I need to install dandelion deploy but cannot due to this problem.

Error running 'requirements_osx_port_install_port',
please read /Users/mariovassiliades/.rvm/log/ruby-2.0.0-p0/1368093119_port_install.log
like image 953
mariovass Avatar asked May 09 '13 09:05

mariovass


2 Answers

I solved this problem by install "Homebrew" first :

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

after that I run: $ brew doctor, then it tell me:

Warning: No developer tools installed. You should install the Command Line Tools. Run xcode-select --install to install them.

so i run "xcode-select --install" ,after that i run " rvm requirements ", it works!

P.S.: If you get Error: No available formula for gcc46 /, try brew tap --repair homebrew/dupes , then try reinstalling. By the way, I use brew install gcc46, it took me more than half an hour without any prompt。

In the end, excuse me for my poor english。

like image 51
inaircastle Avatar answered Sep 24 '22 06:09

inaircastle


You've probably not done the following : After installing xcode, launch it, navigate to Xcode->Preferences, Downloads tab. Install Command Line Tools. This will download and install C, compiler, loader and other command line utilities needed to compile & build the Ruby packages.

like image 24
user2370146 Avatar answered Sep 23 '22 06:09

user2370146