title: install ruby gem
body: <p>I am trying to install the tabulous ruby gem by following <a href="http://rubysource.com/too-good-to-be-true-twitter-bootstrap-meets-formtastic-and-tabulous/" rel="nofollow">this tutorial</a></p>
  
  <p>I am getting stuck in a loop: run gem update => run gem => bundle install.</p>
  
  <p>Can someone provide some information about how to proceed? I have already added the gem to Gemfile.</p>
  
  <p>Here are the command outputs:</p>
  
  <pre><code>**22:16:35-&gt;gem update --system**
  Updating RubyGems
  Updating rubygems-update
  Successfully installed rubygems-update-1.8.24
  Updating RubyGems to 1.8.24
  Installing RubyGems 1.8.24
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/commands/update_command.rb:153: warning: Insecure world writable dir /usr/local/git/bin/ in PATH, mode 040777
  ERROR:  While executing gem ... (Errno::EACCES)
      Permission denied - /Library/Ruby/Site/1.8/gauntlet_rubygems.rb
  
  
  **22:17:33-&gt;bundle install**
  Fetching gem metadata from https://rubygems.org/...........
  Fetching gem metadata from https://rubygems.org/..
  /Library/Ruby/Gems/1.8/gems/bundler-1.2.3/lib/bundler.rb:263: warning: Insecure world writable dir /usr/local/git/bin/ in PATH, mode 040777
  Using rake (10.0.3) 
  Using i18n (0.6.1) 
  Using multi_json (1.5.0) 
  Using activesupport (3.2.11) 
  Using actionpack (3.2.11) 
  Using sass-rails (3.2.6) 
  Using sqlite3 (1.3.7) 
  Installing tabulous (1.3.0) 
  Gem::InstallError: tabulous requires RubyGems version &gt;= 1.3.7. Try 'gem update --system' to update RubyGems itself.
  An error occurred while installing tabulous (1.3.0), and Bundler cannot continue.
  Make sure that `gem install tabulous -v '1.3.0'` succeeds before bundling.
  
  
  22:18:03-&gt;gem install tabulous -v '1.3.0
  &gt; `
  &gt; '
  ERROR:  While executing gem ... (ArgumentError)
      Illformed requirement ["1.3.0\n`\n"]
  
  **22:18:39-&gt;gem install tabulous -v 1.3.0**
  ERROR:  Error installing tabulous:
      tabulous requires RubyGems version &gt;= 1.3.7. Try 'gem update --system' to update RubyGems itself.
  
  22:26:25-&gt;gem update --system
  Updating RubyGems
  Updating rubygems-update
  Successfully installed rubygems-update-1.8.24
  Updating RubyGems to 1.8.24
  Installing RubyGems 1.8.24
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/commands/update_command.rb:153: warning: Insecure world writable dir /usr/local/git/bin/ in PATH, mode 040777
  ERROR:  While executing gem ... (Errno::EACCES)
      Permission denied - /Library/Ruby/Site/1.8/gauntlet_rubygems.rb
  </code></pre>