`ant test` doesn't work due to installation failure on jruby-launcher gem
because of lack of GEM_PATH
-----------------------------------------------------------------------------------------------------
Key: JRUBY-5121
URL: http://jira.codehaus.org/browse/JRUBY-5121
Project: JRuby
Issue Type: Bug
Components: Launcher
Environment: Mac OS X Snow Leopard
Reporter: Tatsuhiro Ujihisa
Assignee: Thomas E Enebo
ant test failed with the following message.
http://gist.github.com/608981
installing the gem library jruby-launcher didn't change the result. I just
removed the line that is deleting GEM_PATH in build.xml and it introduced the
ant process to succeed. (and the all test cases were succesful.)
diff --git build.xml build.xml
index aebf6e3..2e8edb8 100644
--- build.xml
+++ build.xml
@@ -729,7 +729,6 @@
<classpath refid="build.classpath"/>
<classpath path="${jruby.classes.dir}"/>
<sysproperty key="jruby.home" value="${jruby.home}"/>
- <env key="GEM_PATH" value=""/> <!-- to ignore any gems installed in
~/.gem -->
<arg line="--command maybe_install_gems ${jruby.launcher.gem}"/>
</java>
</target>
I'm sure this patch is against something important, but it worked on me.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email