title: Building native extensions. This could take a while
body: <p>I have trouble updating gems on my machine</p>
  
  <ul>
  <li>osx 10.9.2</li>
  <li>xcode upadted, command line tools installed</li>
  <li>ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]</li>
  </ul>
  
  <p>I do:</p>
  
  <pre><code>$ sudo gem update
  Password:
  Updating installed gems
  Updating bigdecimal
  Building native extensions.  This could take a while...
  </code></pre>
  
  <p>It just stuck here, I can wait whole day nothing happens, I just see my fan speed gets to 6k.
  Im not familiar with ruby I just use some gems, like sass, compass, etc..</p>
  
  <p>Was looking around, but couldn't find a solution, I see other people get some kind of error, but I get nothing, it's just stuck.</p>
  
  <p>Any advice?
  Maybe delete gems and reinstall them?</p>
  
  <pre><code>$ gem environment
  RubyGems Environment:
    - RUBYGEMS VERSION: 2.2.2
    - RUBY VERSION: 2.0.0 (2014-02-24 patchlevel 451) [universal.x86_64-darwin13]
    - INSTALLATION DIRECTORY: /Library/Ruby/Gems/2.0.0
    - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    - EXECUTABLE DIRECTORY: /usr/bin
    - SPEC CACHE DIRECTORY: /Users/xyz/.gem/specs
    - RUBYGEMS PLATFORMS:
      - ruby
      - universal-darwin-13
    - GEM PATHS:
       - /Library/Ruby/Gems/2.0.0
       - /Users/xyz/.gem/ruby/2.0.0
       - /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - https://rubygems.org/
    - SHELL PATH:
       - /usr/bin
       - /bin
       - /usr/sbin
       - /sbin
       - /usr/local/bin
  </code></pre>