Exception on Solaris loading ruby gems --------------------------------------
Key: JRUBY-3777 URL: http://jira.codehaus.org/browse/JRUBY-3777 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.3.1, JRuby 1.3, JRuby 1.2 Environment: Solaris 10 Reporter: Matthew Kanwisher Jruby is blowing up when you try to require rubygems on solaris, however this only happens if you run from the root folder. However this seems to effect svcadm so its causing problems in tomcat also. The problem can be easily reproduced on the command line both on jruby 1.2 and 1.3.1. The behavior is interesting, on both machines if I run the command from "/" root it exceptions, but if I run it from another folder like say "/tmp" its all fine. Same thing happened on both solaris boxes. First box: r...@ri-dev1 # pwd /tmp r...@dev1 # java -jar /reuters/coolstack/tomcat5/webapps/something/WEB-INF/lib/jruby-complete-1.2.0.jar -e "require 'rubygems'" r...@dev1 # cd / r...@dev1 # java -jar /reuters/coolstack/tomcat5/webapps/something/WEB-INF/lib/jruby-complete-1.2.0.jar -e "require 'rubygems'" -e:1:in `require': no such file to load -- rubygems (LoadError) from -e:1 Second box: r...@-s # pwd / r...@-s # java -jar /reuters/coolstack/tomcat5/webapps/something/WEB-INF/lib/jruby-complete-1.3.1.jar -e "require 'rubygems'" -e:1:in `require': no such file to load -- rubygems (LoadError) from -e:1 r...@-s # r...@-s # cd /tmp/ r...@-s # java -jar /reuters/coolstack/tomcat5/webapps/something/WEB-INF/lib/jruby-complete-1.3.1.jar -e "require 'rubygems'" r...@-s # Perhaps it can't create temp files if you run from root, no idea ;/ -- 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