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
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。
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With