title: Rails - Gem Error while installing pg (1.1.3), and Bundler cannot continue
body: <p>I am still fairly new to Rails. I am trying to push to Heroku and I am getting errors.</p>
  <p>The first error is when I run a Bundle Install I get this error message:</p>
  <blockquote>
  <p>&quot;An error occurred while installing pg (1.1.3), and Bundler cannot continue.
  Make sure that <code>gem install pg -v '1.1.3'</code> succeeds before bundling.&quot;</p>
  </blockquote>
  <p>I have tried to run this command</p>
  <pre><code>gem install pg -v '1.1.3'
  </code></pre>
  <p>But it fails and gives me this error message:</p>
  <blockquote>
  <p>&quot;ERROR:  Error installing pg:
  ERROR: Failed to build gem native extension.&quot;</p>
  </blockquote>
  <p>Does anyone have a solution to this?</p>