title: Gosu/Ruby fails to install
body: <p>Gosu fails to install on my Mountain Lion (10.8.3).
  Here's the error I get:</p>
  
  <pre><code>Building native extensions.  This could take a while...
  
  ERROR:  Error installing gosu:
  ERROR: Failed to build gem native extension.
  
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
  The Gosu gem requires some libraries to be installed system-wide.
  See the following site for a list:
  https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux
  
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:338:in `symlink': File exists - ../linux/gosu.bundle or ../lib/gosu.bundle (Errno::EEXIST)
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:338:in `ln_s'
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1418:in `fu_each_src_dest0'
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:336:in `ln_s'
  from extconf.rb:99
  </code></pre>
  
  <p>What I tried so far:</p>
  
  <ul>
  <li>Checked that I've got Command line tools installed in My XCode. <a href="https://stackoverflow.com/questions/8389301/os-x-rails-failed-to-build-gem-native-extension">This</a> guy had same problem. But we evidently have different source(s) of problem(s).</li>
  <li>Tried installing dependencies from the rubygame website, appearently helped <a href="http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=883" rel="nofollow noreferrer">this guy</a>. Installed the libraries like this guy.</li>
  <li>Changed the path to put <em>/usr/local/bin</em> in front of <em>/usr/bin/</em>. That didn't help either.</li>
  <li>Tried to install Rubygame gem : And same problem!</li>
  <li>Tried to install SDL gem : Same problem!</li>
  <li>So I decided to try to install something different: the Cake gem. It worked!</li>
  <li>I decided to give up and ask the question in stackoverflow.</li>
  <li>I typed my problem in stackoverflow.</li>
  </ul>
  
  <p>So what could the problem be? </p>