On Fri, Nov 12, 2010 at 7:41 AM, Martin Gamsjaeger <[email protected]> wrote:
> 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

Do you mean DM_DEV_ROOT or DM_DEV_BUNDLE_ROOT?

> to my .bash_profile.

Okay, done:

> $ echo $DM_DEV_BUNDLE_ROOT
> /home/blt/Documents/projects/dm
> $ echo $DM_DEV_ROOT
> /home/blt/Documents/projects/dm

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

The README could use a more clear "This is how you install dm-dev,
configure it and start running tests." section. My ultimate aim is to
do a bit of work on dm-sweatshop. From the README I am unsure how to
move ahead toward that aim, how to make my own local modifications and
test them appropriately.

> Also, you can ping me on #irc. I'm very much interested in ironing out rough
> edges people have with dm-dev.

I will probably take you up on this offer.

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

Okay, dm:sync works just fine. Then:

> $ thor dm:bundle:install
> [01/38] [1.8.7] bundle install dm-core
> [01/38] [1.8.7] bundle install dm-core
> /home/blt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/fileutils.rb:1418:in 
> `stat': No such file or directory -  
> /home/blt/Documents/projects/dm/dm-core/Gemfile.local (Errno::ENOENT)

and

> $ 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:1418:in 
> `stat': No such file or directory - > 
> /home/blt/Documents/projects/dm/dm-core/Gemfile.local (Errno::ENOENT)

> Keep on trying please :)

Of course.

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

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