activate data_objects (= 0.9.9, runtime), already activated
data_objects-0.9.10.1 (Gem::Exception)


What that message means is that one of your dependency has a hard
requirement on data_objects 0.9.9 but another dependency already loaded
0.9.10.1

Usually this kind of issue happens when you update datamapper without
updating the data objects or vice versa.

You have to solutions to this problem:

1. check on your config/dependencies.rb file and update to 0.9.10.1
2. bundle your app by doing `thor merb:gem:install`  and run your app by
doing `./bin/merb`

The second option is usually the recommended way so you don't have to deal
with system upgrades breaking your dependencies and other developers can
work on the same project and just rebuild the gems by doing:
`./bin/thor merb:gem:redeploy`  Finally, it makes deployment much easier.

I hope this helps,

- Matt



On Tue, Jan 6, 2009 at 8:09 PM, RichOnRails <[email protected]> wrote:

>
> Got the same error while:
>  merb-gen controller Uploads
>
> Loading init file from /Users/rich/Desktop/Merb/upload_app/config/
> init.rb
> Loading /Users/rich/Desktop/Merb/upload_app/config/environments/
> development.rb
> /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:149:in `activate': can't
> activate data_objects (= 0.9.9, runtime), already activated
> data_objects-0.9.10.1 (Gem::Exception)
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:165:in
> `activate'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:164:in
> `each'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:164:in
> `activate'
>         from /usr/local/lib/ruby/gems/1.8/gems/merb-core-1.0.7.1/lib/
> merb-core/core_ext/kernel.rb:142:in `load_dependency'
>         from /usr/local/lib/ruby/gems/1.8/gems/merb-core-1.0.7.1/lib/
> merb-core/bootloader.rb:405:in `load_dependencies'
>        from /usr/local/lib/ruby/gems/1.8/gems/merb-core-1.0.7.1/lib/
> merb-core/bootloader.rb:405:in `each'
>        from /usr/local/lib/ruby/gems/1.8/gems/merb-core-1.0.7.1/lib/
> merb-core/bootloader.rb:405:in `load_dependencies'
>        from /usr/local/lib/ruby/gems/1.8/gems/merb-core-1.0.7.1/lib/
> merb-core/bootloader.rb:393:in `run'
>         from /usr/local/lib/ruby/gems/1.8/gems/merb-gen-1.0.7.1/lib/
> merb-gen/generator.rb:43:in `initialize'
>        from /usr/local/lib/ruby/gems/1.8/gems/merb-gen-1.0.7.1/lib/
> merb-gen/named_generator.rb:10:in `initialize'
>        from /usr/local/lib/ruby/gems/1.8/gems/templater-0.5.0/lib/
> templater/cli/generator.rb:61:in `new'
>        from /usr/local/lib/ruby/gems/1.8/gems/templater-0.5.0/lib/
> templater/cli/generator.rb:61:in `run'
>        from /usr/local/lib/ruby/gems/1.8/gems/templater-0.5.0/lib/
> templater/cli/manifold.rb:24:in `run'
>        from /usr/local/lib/ruby/gems/1.8/gems/templater-0.5.0/lib/
> templater/manifold.rb:80:in `run_cli'
>        from /usr/local/lib/ruby/gems/1.8/gems/merb-gen-1.0.7.1/bin/
> merb-gen:6
>        from /usr/local/bin/merb-gen:19:in `load'
>        from /usr/local/bin/merb-gen:19
>
> Followed above by
> config/dependencies.rb:
> ...
> dm_gems_version   = "0.9.9"
>
> and updated my dm- gems
>
> still get the above error.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to