[MacRuby-devel] MACRUBY_REVISION
Laurent Sansonetti
lsansonetti at apple.com
Thu Oct 29 13:14:11 PDT 2009
On Oct 29, 2009, at 12:54 PM, Josh Ballanco wrote:
> 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
This used to work before when we were using Git by default (albeit a
different repository). Vincent probably knows what's going wrong here :)
Laurent
More information about the MacRuby-devel
mailing list