title: An error occurred while installing json (1.8.3), and Bundler cannot continue. on Amazon Linux
body: <p>Hi I tried to deploy my rails application to Amazon Linux.</p>
  
  <p>I got an error</p>
  
  <pre><code> [e93b81e2] Command: cd /var/www/peace/releases/20160511161913 &amp;&amp; ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.1.7" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /var/www/peace/shared/bundle --without development test --deployment --quiet )
  DEBUG [e93b81e2]    An error occurred while installing json (1.8.3), and Bundler cannot continue.
  Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
  (Backtrace restricted to imported tasks)
  cap aborted!
  SSHKit::Runner::ExecuteError: Exception while executing as ec2-user@52.193.101.5: bundle exit status: 5
  bundle stdout: An error occurred while installing json (1.8.3), and Bundler cannot continue.
  Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
  bundle stderr: Nothing written
  </code></pre>
  
  <p>Please advice Thanks in advance.</p>