I'm sorry, but I still can't get it right.

*I tried:*

gem uninstall sequel
 gem uninstall do_mysql
gem uninstall data_objects

gem install sequel do_mysql
  Successfully installed sequel-3.4.0
  Successfully installed data_objects-0.10.0
  Successfully installed do_mysql-0.10.0-x86-mswin32-60
  3 gems installed

==== app.rb ====
require 'sequel'
DB = Sequel.connect('do:mysql://root:krib...@localhost/sonar')
DB['SELECT 1'].all
=============
*with error message:*

C:\lab\ruby\logos>ruby app.rb
C:/Ruby186/lib/ruby/gems/1.8/gems/sequel-3.4.0/lib/sequel/adapters/do.rb:25:
*uninitialized constant Sequel::DataObjects::MysqlError (NameError)
*        from
C:/Ruby186/lib/ruby/gems/1.8/gems/sequel-3.4.0/lib/sequel/adapters/do.rb:58:in
`call'
        from
C:/Ruby186/lib/ruby/gems/1.8/gems/sequel-3.4.0/lib/sequel/adapters/do.rb:58:in
`initialize'
        from
C:/Ruby186/lib/ruby/gems/1.8/gems/sequel-3.4.0/lib/sequel/database.rb:166:in
`new'
        from
C:/Ruby186/lib/ruby/gems/1.8/gems/sequel-3.4.0/lib/sequel/database.rb:166:in
`connect'
        from
C:/Ruby186/lib/ruby/gems/1.8/gems/sequel-3.4.0/lib/sequel/core.rb:116:in
`connect'
        from app.rb:21

*How do I get the right combination of versions that is needed?*

*gem list:*

*** LOCAL GEMS ***
activerecord (2.3.2)
activesupport (2.3.2)
addressable (2.0.2)
builder (2.1.2)
cgi_multipart_eof_fix (2.5.0)
columnize (0.3.0)
configuration (0.0.5)
daemons (1.0.10)
*data_objects (0.10.0)
*datamapper (0.9.11)
dm-aggregates (0.9.11)
dm-cli (0.9.11)
dm-core (0.10.0, 0.9.11)
dm-is-tree (0.9.11)
dm-migrations (0.9.11)
dm-observer (0.9.11)
dm-serializer (0.9.11)
dm-timestamps (0.9.11)
dm-types (0.9.11)
dm-validations (0.9.11)
*do_mysql (0.10.0)
*do_sqlite3 (0.9.12)
eventmachine (0.12.8)
extlib (0.9.12)
fxri (0.3.6)
fxruby (1.6.16)
gem_plugin (0.2.3)
git (1.1.1)
haml (2.0.9)
heroku (1.0)
hpricot (0.6.164)
json (1.1.6)
launchy (0.3.3)
libxml-ruby (1.1.3)
libxslt-ruby (0.9.2)
linecache (0.43)
log4r (1.0.5)
mongrel (1.1.5)
*mysql (2.8.1)
*net-sftp (2.0.2)
net-ssh (2.0.14)
nokogiri (1.3.3)
ptools (1.1.6)
rack (1.0.0)
rack-test (0.3.0)
rake (0.8.1)
ratom (0.6.2)
rest-client (1.0.2)
rspec (1.2.7)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
ruby-opengl (0.60.0)
*sequel (3.4.0)
*shotgun (0.3)
sinatra (0.9.2)
test-spec (0.10.0)
test-unit (2.0.1)
win32-api (1.2.1, 1.2.0)
win32-clipboard (0.4.4)
win32-dir (0.3.2)
win32-eventlog (0.5.0)
win32-file (0.5.5)
win32-file-stat (1.3.1)
win32-process (0.5.9)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.2.4)
windows-pr (0.9.3)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to