Ruby on rails Taps服务器::SQLite3::CantOpenException:无法打开数据库文件
在heroku db:pull从宝石中移除后,我尝试使用水龙头Ruby on rails Taps服务器::SQLite3::CantOpenException:无法打开数据库文件,ruby-on-rails,ruby,ruby-on-rails-3,taps,Ruby On Rails,Ruby,Ruby On Rails 3,Taps,在heroku db:pull从宝石中移除后,我尝试使用水龙头 taps server mysql2://root@localhost/trappor2 taps taps123 C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/adapters/sqlite.rb: 62:in `initialize': SQLite3::CantOpenException: unable to open database file
taps server mysql2://root@localhost/trappor2 taps taps123
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/adapters/sqlite.rb:
62:in `initialize': SQLite3::CantOpenException: unable to open database file (Se
quel::DatabaseConnectionError)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/adapte
rs/sqlite.rb:62:in `new'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/adapte
rs/sqlite.rb:62:in `connect'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/databa
se/misc.rb:45:in `block in initialize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/connec
tion_pool.rb:92:in `call'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/connec
tion_pool.rb:92:in `make_new'
是什么导致了这个错误 我最近也遇到了一些问题。如果可以,尝试切换到PG备份--这非常简单: