Hi Luis,

Ok. I see the require line in dm-core/tasks/dm.rb. I didn't know you
could use "gem which" like that - that's very handy. I obviously need
to do some reading about this stuff. But thanks for the introductory
lesson. At least I have some idea of what we're talking about now.

Regards,
Hola



On Jun 4, 11:19 pm, Luis Lavena <[email protected]> wrote:
> On Thu, Jun 4, 2009 at 11:42 PM, Hola<[email protected]> wrote:
>
> > Luis,
>
> > You were absolutely right. Thank you.
>
> > Out of curiosity, how would I have been able to check the development
> > dependencies and discover this solution by myself? I'd like to become
> > more independent with this stuff.
>
> You can assume the following:
>
> There is a require line looking for "spec/rake/spectask"
>
> Most of the time the first part of that path ("spec") are indication
> of the package or component it uses.
>
> For example "rake/clean" clearly indicates "rake" is a needed dependency.
>
> Now, you can search in your system if you have that:
>
> gem which spec/rake/spectask
>
> Which is going to report you back if you have that dependency
> installed and where, like my example below:
>
> (checking gem rspec-1.2.6 for spec/rake/spectask)
> C:/Users/Luis/.gem/ruby/1.8/gems/rspec-1.2.6/lib/spec/rake/spectask.rb
>
> In case you don't have it, you can try searching for it:
>
> gem search spec --remote
>
> from that list, you can take a better look or give up and ask the
> mighty google to help you out :-D
>
> HTH,
>
> --
> Luis Lavena
> AREA 17
> -
> Perfection in design is achieved not when there is nothing more to add,
> but rather when there is nothing more to take away.
> Antoine de Saint-Exupéry
--~--~---------~--~----~------------~-------~--~----~
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