title: "No such file or directory - getcwd" error on rubygems on Mac Os Lion
body: <p>I'm trying to launch a <a href="http://devcenter.heroku.com/articles/console" rel="noreferrer">heroku console</a> that uses rubygems but I keep getting this error:</p>
  
  <pre><code>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:471:in `expand_path': No such file or directory - getcwd (Errno::ENOENT)
      from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:471:in `find_files'
      from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:470:in `map'
      from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:470:in `find_files'
      from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1103
      from /usr/bin/heroku:9:in `require'
      from /usr/bin/heroku:9
  </code></pre>
  
  <p>I'm using Mac OS Lion 10.7.3. Any ideas on how to fix this? Thanks!</p>