title: Error installing Ruby on a Mac using RVM
body: <p>I am completely new to Ruby, and I am having issues installing it on my Mac running Mountain Lion OS... any help would be great!!!</p>
  
  <p>I have followed a tutorial, and I have installed GIT, curl and RVM. Next step is installing Ruby, which I tried but i got the following error</p>
  
  <pre><code>$ rvm install 1.9.2
  Searching for binary rubies, this might take some time.
  No binary rubies available for: osx/10.8/x86_64/ruby-1.9.2-p320.
  It is not possible to build movable binaries for rubies 1.8-1.9.2, but you can do it for your system only.
  Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
  Checking requirements for osx.
  Installing macports............
  Error running 'requirements_osx_port_install_port',
  showing last 15 lines of /Users/mikelgainza/.rvm/log/1388506081_ruby-1.9.2-p320/port_install.log
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking objc/objc.h usability... yes
  checking objc/objc.h presence... yes
  checking for objc/objc.h... yes
  checking if linking libobjc requires pthreads... no
  checking for Apple Objective-C runtime... yes
  checking for GNU Objective C runtime... no
  configure: Using Apple Objective-C runtime
  checking for Apple Foundation library... no
  configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library
  configure: error: Could not find a working Foundation implementation
  Requirements installation failed with status: 1.
  </code></pre>
  
  <p>I also tried to install 2.1.0 . It finds the remote but then it gives some errors</p>
  
  <pre><code>Searching for binary rubies, this might take some time.
  Found remote file https://rvm.io/binaries/osx/10.8/x86_64/ruby-2.1.0.tar.bz2
  Checking requirements for osx.
  Installing macports............
  Error running 'requirements_osx_port_install_port',
  showing last 15 lines of /Users/mikelgainza/.rvm/log/1388512995_ruby-2.1.0/port_install.log
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking objc/objc.h usability... yes
  checking objc/objc.h presence... yes
  checking for objc/objc.h... yes
  checking if linking libobjc requires pthreads... no
  checking for Apple Objective-C runtime... yes
  checking for GNU Objective C runtime... no
  configure: Using Apple Objective-C runtime
  checking for Apple Foundation library... no
  configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library
  configure: error: Could not find a working Foundation implementation
  Requirements installation failed with status: 1.
  </code></pre>
  
  <p>Any idea of what am I doing wrong?</p>
  
  <p>Thanks!</p>