Prev: how to make installing Ruby easier for amateurs
Next: How to Know What Exception a Method Will Raise?
From: Roger Pack on 22 Dec 2008 03:37 Nacho Sanchez wrote: > Hi everyone, > I'm getting this error after I upgraded Ruby from 1.8 to 1.9.0 and > it's driving me crazy: > "no driver for sqlite3 found" > > If I do an irb: > irb(main):001:0> require 'sqlite3' > => true > irb(main):002:0> SQLite3::Database.new( 'my_database.sqlite3' ) > RuntimeError: no driver for sqlite3 found > from c:/ruby/lib/ruby/gems/1.9.0/gems/sqlite3-ruby-1.2.3-x86- > mswin32/lib/sqlite3/database.rb:621:in `load_driver' > from c:/ruby/lib/ruby/gems/1.9.0/gems/sqlite3-ruby-1.2.3-x86- > mswin32/lib/sqlite3/database.rb:74:in `initialize' you need gem install sqlite3-ruby Might not be available yet with 1.9 that's on the edge :) -=R -- Posted via http://www.ruby-forum.com/. |