D
Dan Munk
Hi,
I am having problems with sqlite connectivy. When I use the require
command with 'SQLite3' everything works fine. The problem is that
active record uses 'sqlite'. I was hoping to get some advice on the
best way to get everything in sync.
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'SQLite3'
=> true
irb(main):003:0> require 'sqlite'
LoadError: no such file to load -- sqlite
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from (irb):3
irb(main):004:0>
Thanks,
Dan
I am having problems with sqlite connectivy. When I use the require
command with 'SQLite3' everything works fine. The problem is that
active record uses 'sqlite'. I was hoping to get some advice on the
best way to get everything in sync.
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'SQLite3'
=> true
irb(main):003:0> require 'sqlite'
LoadError: no such file to load -- sqlite
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from (irb):3
irb(main):004:0>
Thanks,
Dan