>
> Hi,
>> I'd like to know if it's possible to enforce the version of Rake to run a
>> Rakefile from the Rakefile.
>>
>
Maybe I misunderstood your question. You want to launch/fork a particular
version of Rake from a Rakefile?
I guess you could just use the full path to that version's rake script:
sh "/full/path/to/other/rake mytask"
You can find that path using some Gem. methods and look for a specific
version. Look in the Gem doc/sources.
Aslak
> Put this at the 1st line in your Rakefile
>
> raise "You need rake 0.8.7. You have #{RAKEVERSION}" unless RAKEVERSION ==
> '0.8.7'
>
>
>>
>> Thanks,
>>
>> Antoine
>>
>> _______________________________________________
>> Rake-devel mailing list
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/rake-devel
>>
>
>
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel