Sinatra找不到do_sqlite3

时间:2013-08-30 23:14:26

标签: ruby sinatra ruby-datamapper

我正在运行Sinatra并且我安装了datamapper,但是当我需要它并尝试使用它时,我收到一个错误说:

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)

它追溯到这一行:

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

我甚至在我的gemfile中包含了它的gem。可能是什么问题?

0 个答案:

没有答案
相关问题