Brian,

You need to tell dm-dev the DM_DEV_BUNDLE_ROOT. I do that by adding

export DM_DEV_ROOT=/Users/snusnu/projects/github/shared/datamapper

to my .bash_profile.

In the same fashion you could set a few more ENV vars in there as
well, like the RUBIES or ADAPTERS you want to test by default. Have a
look at the README and don't hesitate to keep on asking in here! Also,
you can ping me on #irc. I'm very much interested in ironing out rough
edges people have with dm-dev.

Also, I haven't tested running dm:spec right after dm:sync
extensively. The actual steps necesarry are dm:sync,
dm:bundle:install, dm:spec .. although, I recently committed a change
that should make dm:spec run dm:bundle:install if no Gemfile.local is
present.

Keep on trying please :)

cheers
snusnu

On Fri, Nov 12, 2010 at 08:36, Brian Troutwine <[email protected]> wrote:
> Hello all,
>
> I've just synced dm-dev and I've got:
>
>> $ ls -1
>> data_mapper
>> datamapper.github.com
>> dm-active_model
>> (... 99 skip a few...)
>> do
>> extlib
>> rails_datamapper
>
> Great. Now time to run the specs:
>
>> $ thor dm:spec
>>
>> h2. dm-core
>>
>> | RUBY  | in_memory | yaml | sqlite | postgres | mysql |
>> | 1.8.7 
>> |/home/blt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/fileutils.rb:121:in 
>> `chdir': No such file or directory - 
>> /home/blt/Documents/projects/dm/dm-core/dm-core (Errno::ENOENT)
>
> Er, okay? What am I doing wrong?
>
> Thanks,
> Brian
>
> --
> 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.
>
>

-- 
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