Chris, > I do. Just to be sure I've changed the require line in the Rakefile to > take the absolute path: > > require '/usr/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/rake/ > spectask.rb' > > however it still fails with the HOE constant.
I was under the mistaken impression that you had checked out the source using git and were working within that, not necessarily working from the installed gem directory. We probably should make it so that all the DO driver specs can be run on installed gems, but in the meantime, checkout the source from git using the following commands: git clone git://github.com/datamapper/do.git cd do/data_objects sudo rake install cd ../do_mysql ... remove the references to my_config.h in do_mysql ... rake compile spec sudo rake install This will first install the edge version of DataObjects, and then will compile and run the specs for do_mysql, and then install it. You will want to remove all references to my_config.h from the do_mysql C libs just prior to running the specs of course. You can also hop into #datamapper on irc.freenode.net and there should be a few people able to help you work through this problem. -- 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 -~----------~----~----~----~------~----~------~--~---
