Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.6.4, JRuby 1.7.0.pre1
-
Component/s: Miscellaneous
-
Environment:Mac OSX 10.6 (Snow Lepord) and most likely Lion
-
Patch Submitted:Yes
-
Number of attachments :
Description
The ant installer target, which is a child of the dist target does not compile due to the following issues addressed by the patch:
1) prepare_rubygems in rakelib/installer.rake is called after doing a chdir into installer/macosx, but it tries to use paths relative to the top source directory. This causes lots of copy calls to fail
2) The xml.erb files in install/macos/JRuby-installer.pmdoc/ reference undefined constants MACDIST and GEMDIST which should be MAC_DIST and GEM_DIST_DIR
3) Furthermore these values are supposed to be relative, so a ../../ is needed to travel back to the toplevel source directory
I have applied this patch against a clean git clone and verified that ant dist runs completely with no errors on Mac OSX. As a bonus I've confirmed the resulting installer works as well, installing JRuby into /Library/Frameworks/JRuby.framework/Versions/Current/bin/
I made a similar patch and submitted a pull request just last night without checking JIRA first to see if it was already reported. Note to self: don't do that again.