datamapper / do

DataObjects
147 stars 74 forks source link

Symbol conflict with the sqlite3 gem #47

Closed tenderlove closed 11 years ago

tenderlove commented 11 years ago

Hi,

do_sqlite3 seems to use the same symbol name as the sqlite3 gem. In particular, we're both using mSqlite3. If you do:

require "do_sqlite3"
require "sqlite3"

There is a collision, since both libraries are using the same symbol. I was wondering if you would consider changing the symbol you're using as to not conflict? Here is the ticket on the sqlite3 side.

If changing seems like too much trouble, we can do it on the sqlite3 side, but I wanted to start a conversation.

Thanks! :D

dbussink commented 11 years ago

I'll see if I can get a gem release out this weekend, thanks for the report, didn't know about this problem yet.

tenderlove commented 11 years ago

Thanks @dbussink! I really appreciate it! :heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart:

dbussink commented 11 years ago

New version pushed to Rubygems: https://rubygems.org/gems/do_sqlite3