Dear all,
I just tried the most recent jruby snapshot from http://ci.jruby.org/snapshots/
This is what I see here on my Mac OS 10.6.4 machine:
$ jruby -v
jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-09-01 fatal:
unrecognized argument: --format=format:%h) (Java HotSpot™ 64-Bit
Server VM 1.6.0_20) [darwin-x86_64-java]
Do you also get this fatal … string inside the version message?
On Wed, Sep 1, 2010 at 7:52 AM, Hirotsugu A. [email protected]
wrote:
[darwin-x86_64-java]
My guess is that the git version in the snapshot environment is either too
old or too new, and the argument is not recognized.
Yes, that’s exactly it – the version of git on our CI server is too
old. It actually turned out to be easier to change the command used to
generate the hash to git log -1 --pretty=format:%h which is
compatible with git 1.6 on the CI server as well as newer versions.
The next snapshot should properly capture the revision from which it
was built.