Can not find file sqlite3_native.so

Trying to run the tutorial locally after downloading it from the cloud9 (just started, updated the gem file, that's it)...

Ran bundle install (errored on byebug which I since commented out) then the bundle install worked..

Tried rails server, and it errored out with the following error.

C:/Ruby21/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x86-mingw32/lib/sqlite3.rb:6:in `require': 126: The specified module co uld not be found. - C:/Ruby21/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x86-mingw32/lib/sqlite3/2.0/sqlite3_native.so (Lo adError)

Note I do have sqlite3_native.so in this folder. Note I also have sqlite3 in my ruby21/bin folder.

Why can't it find this file?

my sqlite3.rb contains (note I had to add the 2.0 to the require line below as that is what is in my directory. C:\Ruby21\lib\ruby\gems\2.1.0\gems\sqlite3-1.3.9-x86-mingw32\lib\sqlite3\2.0

# support multiple ruby version (fat binaries under windows) begin   RUBY_VERSION =~ /(\d+\.\d+)/   require "sqlite3/#{$1}/sqlite3_native" rescue LoadError   require 'sqlite3/2.0/sqlite3_native' end

require 'sqlite3/database' require 'sqlite3/version'

thanks for the help... fyi, everything runs fine on the cloud9, just trying to create a local version of this... I've hit every fricking problem on my local version, rails 4.+++ Ruby 2.1... I have run the tutorial locally fine last year, but did not use ruby 2.1 rather 1.something...