[MacRuby-devel] MACRUBY_REVISION

Josh Ballanco joshua.ballanco at apple.com
Thu Oct 29 12:54:32 PDT 2009


On Oct 29, 2009, at 12:48 PM, Ernest N. Prabhakar, Ph.D. wrote:

> Hi Laurent,
>
> On Oct 29, 2009, at 12:42 PM, Laurent Sansonetti wrote:
>> On Oct 29, 2009, at 12:39 PM, Ernest N. Prabhakar, Ph.D. wrote:
>>
>>> Hi Laurent,
>>>
>>> On Oct 29, 2009, at 12:26 PM, Laurent Sansonetti wrote:
>>>
>>>> $ macruby -e "p MACRUBY_REVISION"
>>>> "svn revision 2915 from http://svn.macosforge.org/repository/ruby/MacRuby/trunk 
>>>> "
>>>>
>>>> If MacRuby was built from Git (I think that's what the nightly  
>>>> build does), the constant will have the full Git line (with the  
>>>> sha1 signature).
>>>>
>>>
>>> Apparently not:
>>>
>>>> prabhaka$ macruby -e "p MACRUBY_REVISION"
>>>> "unknown revision"
>>
>> Where does your version of MacRuby come from? :-)
>
> I'm pretty sure this was the latest nightly, installed using:
>

Git will require an extra Attribute to properly do version  
substitution. See the section on "export-subst" in the Pro Git book: http://progit.org/book/ch7-2.html

- Josh


More information about the MacRuby-devel mailing list