datamapper/dm-core — Issue #170: Versioning error with dm-do-adapter
Author: tlianza
Created: 2011-12-10 10:00:14+00:00
State: open

When running Sinatra with datamapper 1.2, I see the following exception immediately:

```

/opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:812:in `report_activate_error': RubyGem version error: dm-do-adapter(1.2.0 not ~> 1.1.0) (Gem::LoadError)
from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:223:in `activate'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:258:in `activate'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:257:in `each'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:257:in `activate'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'
from /opt/local/lib/ruby/gems/1.8/gems/dm-core-1.2.0/lib/dm-core/adapters.rb:163:in `load_adapter'
from /opt/local/lib/ruby/gems/1.8/gems/dm-core-1.2.0/lib/dm-core/adapters.rb:133:in `adapter_class'
from /opt/local/lib/ruby/gems/1.8/gems/dm-core-1.2.0/lib/dm-core/adapters.rb:13:in `new'
from /opt/local/lib/ruby/gems/1.8/gems/dm-core-1.2.0/lib/dm-core.rb:230:in `setup'
from default.rb:38
from /opt/local/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1273:in `configure'
from /opt/local/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1589:in `send'
from /opt/local/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1589:in `configure'
from default.rb:32
```

Related gems I have installed:

```
dm-aggregates (1.2.0)
dm-cli (0.9.11)
dm-constraints (1.2.0)
dm-core (1.2.0)
dm-do-adapter (1.2.0)
dm-is-tree (0.9.11)
dm-migrations (1.2.0)
dm-observer (0.9.11)
dm-postgres-adapter (1.2.0)
dm-serializer (1.2.1)
dm-sqlite-adapter (1.1.0)
dm-timestamps (1.2.0)
dm-transactions (1.2.0)
dm-types (1.2.1)
dm-validations (1.2.0)
```