Glenn,

> this has been constant grief for me... first half of my 1 or 2 days a
> fortnight of merb and datamapper ness are oft spent screwing round with
> gems, so big thanks for taking an interest in it.

No problem.  Your experience is the exact opposite we want to happen
for people new to DataMapper.

Ideally I would like for the getting-started process to be as simple
as doing:

  sudo gem install dm-core
  sudo gem install do_sqlite3  # and/or do_postgres, do_mysql

And that's it.  Sure people can cherry-pick dm-more gems they want,
but just to get started the above should be all that is necessary.

In the next 0.10.0 series of DataMapper the above will change
slightly, but it should be equally simple:

  sudo gem install dm-core
  sudo gem install dm-sqlite3-adapter  # and/or dm-postgres-adapter,
dm-mysql-adapter

The dm-sqlite3-adapter, dm-postgres-adapter and dm-mysql-adapter will
manage the dependencies for the DO driver so you shouldn't have to
ever worry about using gem install on a DO drivers directly.  The
install process will then become identical for the RDBMS drivers as it
currently is for all our other adapters.

We're really happy with DO so our usage of it is not going to stop,
but this will abstract some of the lower level details from the end
user.  Who knows, perhaps one day we might make it so the dm-mysql-
adapter can use either do_mysql OR the mysql-ruby gem, whichever is
installed, with the preference being do_mysql if both are available
(since it's likely faster).  I dunno.  Regardless, I don't think end
users should be forced to worry about explicitly installing a DO
driver just to get started.

> Sorry I can't offer anything more precise at this stage - next time it
> happens I'll slow down, take notes and forward the specifics.

That is all I can ask.  I would love to see everyone who's come across
this problem do the same, so we can get to the bottom of this and move
onto other, more interesting things like ramping up for DM 1.0,
getting ready for Rails 3 and adding JRuby support :)

> Thanks for the time you put into DM,  I love it.

Thank you very much, it is appreciated.

--

Dan
(dkubb)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to