title: How install ruby 2.1.0 on OS_X 10.9 using rvm? ( No binary rubies available for: osx/10.9/x86_64/ruby )
body: <p>I'm trying to install ruby 1.9.3-p545 or ruby-2.1.0 or ruby-2.1.1, but it fails...</p>
  
  <p>My environment:</p>
  
  <ul>
  <li>OS_X 10.9 x86_64</li>
  <li>rvm  1.25.20</li>
  </ul>
  
  <p>Error from terminal:</p>
  
  <pre>
  <code>
  bmalets$ rvm install 1.9.3-p545
  Searching for binary rubies, this might take some time.
  No binary rubies available for: osx/10.9/x86_64/ruby-1.9.3-p545.
  Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
  Checking requirements for osx_port.
  Installing macports......................................................bmalets password required for 'make install': 
  ......................
  Installing requirements for osx_port.
  Updating system............
  Error running 'requirements_osx_port_update_system ruby-1.9.3-p545',
  showing last 15 lines of /Users/bmalets/.rvm/log/1394647562_ruby-1.9.3-p545/update_system.log
  checking Mac OS X version... 10.9.2
  checking Xcode location... /Applications/Xcode.app/Contents/Developer
  checking Xcode version... 5.0.2
  checking for gcc... /usr/bin/llvm-gcc-4.2
  checking whether the C compiler works... no
  configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base':
  configure: error: C compiler cannot create executables
  See `config.log' for more details
  shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/llvm-gcc-4.2 ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install" returned error 77
  DEBUG: Error installing new MacPorts base: shell command failed (see log for details)
      while executing
  "macports::selfupdate [array get global_options] base_updated"
  Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
  ++ return 1
  ++ return 1
  Requirements installation failed with status: 1.
  </code>
  </pre>
  
  <p>Please help.</p>
  
  <p>P.S.
  I tried to update my command line tools, it fails too:</p>
  
  <p><img src="https://i.stack.imgur.com/HNrSH.jpg" alt="enter image description here"></p>
  
  <p>I tried to update ports: <code>sudo port -v selfupdate</code>, and it ask me for command line tools :)</p>
  
  <pre><code>
  bmalets$ sudo xcode-select --install
  xcode-select: note: install requested for command line developer tools
  </code></pre>