I am very much perplexed by this error:

For starters I do have MySQL installed correctly. I'm running version 5.5.11 
on Mac OS 10.6.7 and can play around in the shell no problem. Things start 
falling apart if I try to do anything in a Rails/Sinatra/Padrino app. Even 
rake -T will not run

rake -T
=> Executing rake -T
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/do_mysql-0.10.3/lib/do_mysql.rb:23:in
 
`const_get': wrong constant name BigDecimal (NameError)
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/do_mysql-0.10.3/lib/do_mysql.rb:23:in
 
`require'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/do_mysql-0.10.3/lib/do_mysql.rb:23:in
 
`<top (required)>'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/dm-mysql-adapter-1.1.0/lib/dm-mysql-adapter/adapter.rb:1:in
 
`require'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/dm-mysql-adapter-1.1.0/lib/dm-mysql-adapter/adapter.rb:1:in
 
`<top (required)>'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/dm-mysql-adapter-1.1.0/lib/dm-mysql-adapter.rb:1:in
 
`require'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/dm-mysql-adapter-1.1.0/lib/dm-mysql-adapter.rb:1:in
 
`<top (required)>'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in
 
`require'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in
 
`block (2 levels) in require'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in
 
`each'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in
 
`block in require'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in
 
`each'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in
 
`require'
from 
/Users/me/.rvm/gems/ruby-1.9.2-p180@global/gems/bundler-1.0.10/lib/bundler.rb:120:in
 
`require'
from /Users/me/Desktop/Code/apps/word_up/config/boot.rb:10:in `<top 
(required)>'
from 
/Users/me/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
 
`require'
from 
/Users/me/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
 
`require'

Some further background info:

When I first tried to run rake tasks I got an error from do_mysql saying 
that it could not find libmysql.16.dylib.

Looking at my system I see that I had mysql.18.dylib, so I simply modified 
the do_mysql gem in the following places

*lib/do_mysql/do_mysql.bundle:2*
*ext/do_mysql/do_mysql.bundle:2*

At that point the libmysql error went away and now I'm facing this issue. 
Any ideas what it could be? This bug is driving me batty!

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to datamapper@googlegroups.com.
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to