Sinatra can't find do_sqlite3

145 Views Asked by At

I'm running Sinatra and i have datamapper installed, but when i require it and try to use it, I get an error saying this:

C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could no
t find 'do_sqlite3' (~> 0.10.6) among 46 total gem(s) (Gem::LoadError)

It traces back to this line:

require 'data_mapper'
DataMapper::setup(:default, "sqlite3://db/development.db") #this line

I even included the gem for it in my gemfile. What could be the problem?

0

There are 0 best solutions below