title: PG pg_ext load error in rails
body: <p>I recently updated to rails 4.1.6 and ruby 2.1.3p242. I also updated all gems on my system. After creating a new app, I keep getting a pg_ext load file error on running the server. I'm on windows 8 x64 with PostgreSQL 9.3. The pg gem was working fine under my previous RoR installation which was rails 3.2 and ruby 1.9.3.</p>
  
  <p>Under the gem's installation directory, I've a 2.0/pg_ext.so file. I tried renaming the folder to 2.1 and ran the server. The result was the same. I assume it's cause Ruby doesn't allow to Require a .so file. Below is the screenshot of the error:</p>
  
  <p><img src="https://i.stack.imgur.com/uJkOK.png" alt="enter image description here"></p>
  
  <p>Any help would be really appreciated. Thanks! </p>