title: LoadError: cannot load such file -- bcrypt_ext on Windows 2008 x64 server
body: <p>I upgraded my environment from Ruby 2.0.0 to 2.2.3.</p>
  
  <p>I also upgraded (overwrite) DevKit, and re-run ruby dk.rb install.</p>
  
  <p>I removed Gemfile.lock and ran bundle install to start with a brand new environment. Everything looks ok, but I get the error:</p>
  
  <pre><code>E:\Projects\development\Stairs&gt;rake db:migrate 
  rake aborted!
  LoadError: cannot load such file -- bcrypt_ext
  E:/Projects/development/Stairs/config/application.rb:7:in `&lt;top (required)&gt;'
  E:/Projects/development/Stairs/Rakefile:4:in `&lt;top (required)&gt;'
  LoadError: cannot load such file -- 2.2/bcrypt_ext
  E:/Projects/development/Stairs/config/application.rb:7:in `&lt;top (required)&gt;'
  E:/Projects/development/Stairs/Rakefile:4:in `&lt;top (required)&gt;'
  (See full trace by running task with --trace)
  </code></pre>
  
  <p>I first had the same issue with Nokogiri, which I solved using this solution : <a href="https://stackoverflow.com/questions/28999906/require-cannot-load-such-file-nokogiri-nokogiri-loaderror-when-running">Nokogiri load error</a>
  using Juloi Elixir's solution and installing Nokogiri from a local copy.</p>
  
  <p>But I don't feel like doing this foreach gem! It looks like ruby is searching the gem using a ./ or ./2.2 path, while gems are stored in a ./2.2.0 path. Is this configurable?
  How can I solve this issue?</p>
  
  <pre><code>Note: Gemfile contains gem 'bcrypt', '~&gt; 3.1.10'
  </code></pre>
  
  <p>Thanks!</p>