Skip to content


Datamapper and Ruby On Rails

Aaaaaargh. Some time ago I wrote about problems with merb. That was obvious that if  not merb than it would be ROR. I installed new merb, some more things, run script/server… great, everything was OK.

I changed a little the application for using datamapper. Great… run the script and ooops now:

$ script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.1.1 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/usr/local/lib/site_ruby/1.8/rubygems.rb:578:in `report_activate_error':
        RubyGem version error: dm-core(0.9.5 not = 0.9.4) (Gem::LoadError)
    from /usr/local/lib/site_ruby/1.8/rubygems.rb:134:in `activate'
    from /usr/local/lib/site_ruby/1.8/rubygems.rb:49:in `gem'
    from /usr/lib/ruby/gems/1.8/gems/datamapper-0.9.5/lib/data_mapper.rb:6
    from /usr/lib/ruby/gems/1.8/gems/datamapper-0.9.5/lib/data_mapper.rb:5:in `each'
    from /usr/lib/ruby/gems/1.8/gems/datamapper-0.9.5/lib/data_mapper.rb:5
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in
        `gem_original_require'
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/
        dependencies.rb:510:in `require'
     ... 29 levels...
    from /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/commands/server.rb:39
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
        `gem_original_require'
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from script/server:3

What now?

Well… I think that I’ll get back to Django although I don’t like Python.

Related posts:

  1. New Merb 1.0 is Out Yea… great? Let’s install that. I used thor. First copy...
  2. Ruby, Rails… AWESOME I really don’t get it, why almost each post or...
  3. What’s Wrong With Merb. Merb is going to be a new killer application used...
  4. Why Ruby on Rails Migrations Don’t Work Ruby on Rails Migrations Migrations in Ruby on Rails provide...
  5. Playing Rails Migrations Last time I keep on playing Ruby on Rails, quite...
  6. Indentation Checking in Ruby In Python blocks have to be indented just because the...

Posted in web.

Tagged with , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.



Better Tag Cloud