title: Sharing Gemfile.lock across both windows and linux environment
body: <p>I've been advised not to untrack Gemfile.lock, however i ran into issues.</p>
  
  <p>I develop on my windows machine, and push to a linux (ubuntu) server, the issue is Bundler locks the windows version of some gems, by adding: <code>x86-mingw32</code> after the version number, which causes issues.</p>
  
  <pre><code>GEM
    remote: http://rubygems.org/
    specs:
      actionmailer (3.2.1)
      ...
      mysql2 (0.3.11-x86-mingw32)
      ...
  
    PLATFORMS
      x86-mingw32
  </code></pre>
  
  <p>I use Capistrano to deploy, and i get this error:</p>
  
  <p><strong>Please install the mysql adapter: gem install activerecord-mysql-adapter (mysql is not part of the bundle. Add it to Gemfile.)</strong></p>
  
  <p>Even though my gemfile is like:</p>
  
  <pre><code>...
  gem 'mysql2'
  ...
  </code></pre>
  
  <p>I think that's because Rails tries to use the windows version of mysql2 which is found on Gemfile.lock</p>
  
  <p>Any ideas to solve this?</p>