<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14106</id>
	<title>Nabble - JRuby</title>
	<updated>2009-11-09T17:25:11Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/JRuby-f14106.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JRuby-f14106.html" />
	<subtitle type="html">JRuby is the effort to recreate the Ruby interpreter in Java. JRuby is tightly integrated with Java to allow both to script any Java class and to embed the interpreter into any Java application. JRuby home is &lt;a href=&quot;http://jruby.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26276797</id>
	<title>JDBC driver leak</title>
	<published>2009-11-09T17:25:11Z</published>
	<updated>2009-11-09T17:25:11Z</updated>
	<author>
		<name>vivekp</name>
	</author>
	<content type="html">I am investigating memory leak related to hot deployment of Rails application on GlassFish. One of the hanging references is the JDBC driver, in this case: org.sqlite.JDBC. The class loader is org.jruby.util.JRubyClassLoader.&lt;div&gt;

&lt;br&gt;&lt;/div&gt;&lt;div&gt;I tried to fix it by trying to do something like this:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;            for (Enumeration e = DriverManager.getDrivers(); e.hasMoreElements();) {&lt;/div&gt;&lt;div&gt;                Driver driver = (Driver) e.nextElement();&lt;/div&gt;

&lt;div&gt;                if (driver.getClass().getClassLoader() == getClass().getClassLoader()) {&lt;/div&gt;&lt;div&gt;                    DriverManager.deregisterDriver(driver);&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;This does not work because DriverManager.getDrivers() returns only the drivers loaded by this classloader so org.sqlite3.JDBC is not even reported although in the debugger I can see it very well and its loaded by JRubyClassLoader.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So the right fix will be in Ruby.tearDown() to do what I am trying to do using JRubyClassLoader loaded class. &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I have opened a JIRA: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4226&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4226&lt;/a&gt;&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;-vivek.&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDBC-driver-leak-tp26276797p26276797.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26276784</id>
	<title>[jira] Created: (JRUBY-4226) Memory leak due to JRuby runtime  not unregsitering JDBC drivers</title>
	<published>2009-11-09T17:24:56Z</published>
	<updated>2009-11-09T17:24:56Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Memory leak due to JRuby runtime &amp;nbsp;not unregsitering JDBC drivers
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JRUBY-4226
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4226&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4226&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JRuby
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Embedding
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JRuby 1.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: JRuby 1.4.0, glassfish v3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Vivek Pandey
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: jruby-jdbc-leak.png
&lt;br&gt;&lt;br&gt;I am investigating memory leak related to hot deployment of Rails application on GlassFish. One of the hanging references is the JDBC driver, in this case: org.sqlite.JDBC. The class loader is org.jruby.util.JRubyClassLoader.
&lt;br&gt;&lt;br&gt;I tried to fix it by trying to do something like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (Enumeration e = DriverManager.getDrivers(); e.hasMoreElements();) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Driver driver = (Driver) e.nextElement();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (driver.getClass().getClassLoader() == getClass().getClassLoader()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DriverManager.deregisterDriver(driver);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;This does not work because DriverManager.getDrivers() returns only the drivers loaded by this classloader so org.sqlite3.JDBC is not even reported although in the debugger I can see it very well and its loaded by JRubyClassLoader. So AFAIK I can't underegister the JDBC drivers loaded by jruby for a given rails application.
&lt;br&gt;&lt;br&gt;So the right fix will be in Ruby.tearDown() to do what I am trying to do using JRubyClassLoader loaded class. So basically, Ruby.tearDown() should deregister/unregister JDBC drivers
&lt;br&gt;&lt;br&gt;See the attached image of the heap dump analyzed using eclipse mem analyzer.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4226%29-Memory-leak-due-to-JRuby-runtime--not-unregsitering-JDBC-drivers-tp26276784p26276784.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26275023</id>
	<title>[jira] Created: (JRUBY-4225) MogileFS Client Socket#connect_nonblock not implemented.</title>
	<published>2009-11-09T14:38:55Z</published>
	<updated>2009-11-09T14:38:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">MogileFS Client Socket#connect_nonblock not implemented.
&lt;br&gt;--------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JRUBY-4225
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4225&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4225&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JRuby
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Core Classes/Modules
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JRuby 1.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: OSX
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: victori
&lt;br&gt;&lt;br&gt;&lt;br&gt;MogileFS-Client fails to work on JRuby due to Socket#connect_nonblock not being implemented. 
&lt;br&gt;&lt;br&gt;This library is fairly important for large scale Ruby projects that rely on distributed file storage. 
&lt;br&gt;&lt;br&gt;/Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/util.rb:135:in `mogilefs_init': undefined method `connect_nonblock' for #&amp;lt;Socket:0x46c80e21&amp;gt; (NoMethodError)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/util.rb:154:in `mogilefs_new_nonblock'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/util.rb:162:in `mogilefs_new'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/backend.rb:247:in `socket'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/backend.rb:243:in `each'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/backend.rb:243:in `socket'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/backend.rb:158:in `do_request'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/backend.rb:154:in `do_request'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/backend.rb:16:in `list_keys'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /Users/victori/Documents/Java/jruby/lib/ruby/gems/1.8/gems/mogilefs-client-2.1.0/lib/mogilefs/mogilefs.rb:228:in `list_keys'
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4225%29-MogileFS-Client-Socket-connect_nonblock-not-implemented.-tp26275023p26275023.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273764</id>
	<title>Re: Unable to instantiate a Java Class???</title>
	<published>2009-11-09T13:10:52Z</published>
	<updated>2009-11-09T13:10:52Z</updated>
	<author>
		<name>pyrole</name>
	</author>
	<content type="html">I'm not trying to instantiate an Abstract Class or an interface...I think it was probably because the arguments in constructor were bad.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Thomas E Enebo wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Perhaps you are trying to instantiate a Java abstract class or
&lt;br&gt;Interface? &amp;nbsp;Not a good error message is it? I just tried instantiating
&lt;br&gt;a random interface and abstract class and got different stack traces
&lt;br&gt;than yours. &amp;nbsp;Can you try and narrow this down a little bit and find a
&lt;br&gt;test case where we can reproduce this? &amp;nbsp;At the very least we should be
&lt;br&gt;able to improve the error handling.
&lt;br&gt;&lt;br&gt;-Tom
&lt;br&gt;&lt;br&gt;On Mon, Nov 9, 2009 at 1:58 PM, pyrole &amp;lt;jatinpatni@gmail.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What does this error mean, what am I doing wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please help
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; specific error is as follows:
&lt;br&gt;&amp;gt; not instantiatable /builtin/javasupport/proxy/concrete.rb:15:in
&lt;br&gt;&amp;gt; `__jcreate!'/builtin/javasupport/proxy/concrete.rb:23:in
&lt;br&gt;&amp;gt; `initialize'/builtin/javasupport/proxy/concrete.rb:6:in
&lt;br&gt;&amp;gt; `new'/builtin/javasupport/proxy/concrete.rb:6:in `new'&amp;lt;script&amp;gt;:23:in
&lt;br&gt;&amp;gt; `on_callback':1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Unable-to-instantiate-a-Java-Class----tp26272685p26272685.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Unable-to-instantiate-a-Java-Class----tp26272685p26272685.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the JRuby - Dev mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;blog: &lt;a href=&quot;http://blog.enebo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.enebo.com&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;twitter: tom_enebo
&lt;br&gt;mail: tom.enebo@gmail.com
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unable-to-instantiate-a-Java-Class----tp26272685p26273764.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26272859</id>
	<title>Re: Unable to instantiate a Java Class???</title>
	<published>2009-11-09T12:09:02Z</published>
	<updated>2009-11-09T12:09:02Z</updated>
	<author>
		<name>Thomas E Enebo</name>
	</author>
	<content type="html">Perhaps you are trying to instantiate a Java abstract class or
&lt;br&gt;Interface? &amp;nbsp;Not a good error message is it? I just tried instantiating
&lt;br&gt;a random interface and abstract class and got different stack traces
&lt;br&gt;than yours. &amp;nbsp;Can you try and narrow this down a little bit and find a
&lt;br&gt;test case where we can reproduce this? &amp;nbsp;At the very least we should be
&lt;br&gt;able to improve the error handling.
&lt;br&gt;&lt;br&gt;-Tom
&lt;br&gt;&lt;br&gt;On Mon, Nov 9, 2009 at 1:58 PM, pyrole &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272859&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jatinpatni@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What does this error mean, what am I doing wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please help
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; specific error is as follows:
&lt;br&gt;&amp;gt; not instantiatable /builtin/javasupport/proxy/concrete.rb:15:in
&lt;br&gt;&amp;gt; `__jcreate!'/builtin/javasupport/proxy/concrete.rb:23:in
&lt;br&gt;&amp;gt; `initialize'/builtin/javasupport/proxy/concrete.rb:6:in
&lt;br&gt;&amp;gt; `new'/builtin/javasupport/proxy/concrete.rb:6:in `new'&amp;lt;script&amp;gt;:23:in
&lt;br&gt;&amp;gt; `on_callback':1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Unable-to-instantiate-a-Java-Class----tp26272685p26272685.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Unable-to-instantiate-a-Java-Class----tp26272685p26272685.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the JRuby - Dev mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;blog: &lt;a href=&quot;http://blog.enebo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.enebo.com&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;twitter: tom_enebo
&lt;br&gt;mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272859&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tom.enebo@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unable-to-instantiate-a-Java-Class----tp26272685p26272859.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26272685</id>
	<title>Unable to instantiate a Java Class???</title>
	<published>2009-11-09T11:58:08Z</published>
	<updated>2009-11-09T11:58:08Z</updated>
	<author>
		<name>pyrole</name>
	</author>
	<content type="html">What does this error mean, what am I doing wrong?
&lt;br&gt;&lt;br&gt;Please help
&lt;br&gt;&lt;br&gt;specific error is as follows:
&lt;br&gt;not instantiatable /builtin/javasupport/proxy/concrete.rb:15:in `__jcreate!'/builtin/javasupport/proxy/concrete.rb:23:in `initialize'/builtin/javasupport/proxy/concrete.rb:6:in `new'/builtin/javasupport/proxy/concrete.rb:6:in `new'&amp;lt;script&amp;gt;:23:in `on_callback':1
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unable-to-instantiate-a-Java-Class----tp26272685p26272685.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26270021</id>
	<title>[jira] Created: (JRUBY-4224) &quot;Included&quot; interfaces should be added to reified Java class</title>
	<published>2009-11-09T09:10:55Z</published>
	<updated>2009-11-09T09:10:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&amp;quot;Included&amp;quot; interfaces should be added to reified Java class
&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JRUBY-4224
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4224&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4224&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JRuby
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Nick Sieger
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Nick Sieger
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: JRuby 1.5
&lt;br&gt;&lt;br&gt;&lt;br&gt;Placeholder for forthcoming specs and implementation for adding interfaces in reified classes.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4224%29-%22Included%22-interfaces-should-be-added-to-reified-Java-class-tp26270021p26270021.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26268747</id>
	<title>Re: Active-Record jdbc adapter for OpenEdge databases</title>
	<published>2009-11-09T07:54:51Z</published>
	<updated>2009-11-09T07:54:51Z</updated>
	<author>
		<name>Nick Sieger-2</name>
	</author>
	<content type="html">On Mon, Nov 9, 2009 at 7:49 AM, Philippe Cantin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268747&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pca@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hey !
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We work for 2 monthes on an adaptor for Progress OpenEdge Databases(1).
&lt;br&gt;&amp;gt; First release is up, with units tests and moreover tested in &amp;quot;real word&amp;quot; on
&lt;br&gt;&amp;gt; a big project for one of our customers.
&lt;br&gt;&amp;gt; It works really fine for now, and we'd want to include it as part of
&lt;br&gt;&amp;gt; active-record jdbc adapters pack  (under MIT license ?).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We ask for you agreement, and thank you for advicing us about the procedure.
&lt;br&gt;&lt;br&gt;Hi! It's great to see you doing work like this to extend the reach of
&lt;br&gt;JRuby to new databases. While I'd like to accept your work as a token
&lt;br&gt;of thanks, my only concern is maintainability of the code. What I'd
&lt;br&gt;like to suggest going forward is one of two possibilities:
&lt;br&gt;&lt;br&gt;1. File an issue on AR-JDBC's JIRA:
&lt;br&gt;&lt;a href=&quot;http://kenai.com/jira/browse/ACTIVERECORD_JDBC&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kenai.com/jira/browse/ACTIVERECORD_JDBC&lt;/a&gt;&amp;nbsp;and garner community
&lt;br&gt;backing for the openedge adapter. If multiple independent people
&lt;br&gt;express their desire for the adapter to become part of AR_JDBC, I'd be
&lt;br&gt;more likely to include it.
&lt;br&gt;2. For AR-JDBC 1.0 we're hoping to have a plugin API of sorts for
&lt;br&gt;adding new database support, so a project like yours could be a
&lt;br&gt;standalone gem that you'd simply install on top of AR-JDBC and need to
&lt;br&gt;do nothing further.
&lt;br&gt;&lt;br&gt;Thoughts?
&lt;br&gt;&lt;br&gt;/Nick
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For now the adapter sources are on our github repository  :
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://github.com/kantena/activerecord-openedge-adapter&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/kantena/activerecord-openedge-adapter&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (1) &lt;a href=&quot;http://web.progress.com/openedge/database-products.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://web.progress.com/openedge/database-products.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cantin Philippe
&lt;br&gt;&amp;gt; Développeur Java/J2EE , Ruby/Rails
&lt;br&gt;&amp;gt; Courriel : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268747&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pca@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kantena Paris XIème . France
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.kantena.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.kantena.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Active-Record-jdbc-adapter-for-OpenEdge-databases-tp26266693p26268747.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26268615</id>
	<title>Re: Raising Native Exceptions</title>
	<published>2009-11-09T07:47:59Z</published>
	<updated>2009-11-09T07:47:59Z</updated>
	<author>
		<name>Thomas E Enebo</name>
	</author>
	<content type="html">Can you file a bug on your example snippet? &amp;nbsp;I think it is a bug, but
&lt;br&gt;OTOH is an instance of a Java Object rooted at Ruby Object? &amp;nbsp;I would
&lt;br&gt;say it has to be a bug since all objects in Ruby space whether
&lt;br&gt;imported from Java or not must be rooted by Ruby Object (or
&lt;br&gt;BasicObject) in 1.9.
&lt;br&gt;&lt;br&gt;Here is a snippet which may capture what you are trying to do a little
&lt;br&gt;more and it also works:
&lt;br&gt;&lt;br&gt;require 'java'
&lt;br&gt;&lt;br&gt;begin
&lt;br&gt;&amp;nbsp; raise java.lang.Exception.new(&amp;quot;Hello&amp;quot;)
&lt;br&gt;&amp;nbsp; # raise Exception.new(&amp;quot;Hello&amp;quot;)
&lt;br&gt;rescue java.lang.Object =&amp;gt; e
&lt;br&gt;&amp;nbsp; puts e.to_s
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;-Tom
&lt;br&gt;&lt;br&gt;On Sat, Nov 7, 2009 at 5:43 AM, Fouad Mardini &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268615&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;f.mardini@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; I am having an issue with raising java exceptions from ruby
&lt;br&gt;&amp;gt; Googling around I found this &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-1615&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-1615&lt;/a&gt;&lt;br&gt;&amp;gt; which would suggest the issue was solved
&lt;br&gt;&amp;gt; I am running jruby right out of git (branch jruby-1_4)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Boils down to this:
&lt;br&gt;&amp;gt; require 'java'
&lt;br&gt;&amp;gt; begin
&lt;br&gt;&amp;gt;   raise java.lang.Exception.new(&amp;quot;Hello&amp;quot;)
&lt;br&gt;&amp;gt;   # raise Exception.new(&amp;quot;Hello&amp;quot;)
&lt;br&gt;&amp;gt; rescue Object =&amp;gt; e
&lt;br&gt;&amp;gt;   puts e.to_s
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for any pointers :)
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Fouad Mardini
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;blog: &lt;a href=&quot;http://blog.enebo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.enebo.com&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;twitter: tom_enebo
&lt;br&gt;mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268615&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tom.enebo@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Raising-Native-Exceptions-tp26244010p26268615.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26268201</id>
	<title>Re: is this a bug?</title>
	<published>2009-11-09T07:24:48Z</published>
	<updated>2009-11-09T07:24:48Z</updated>
	<author>
		<name>Roger Pack-5</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; The root problem has been fixed on JRuby's master branch, so the
&lt;br&gt;&amp;gt; workaround is only needed for JRuby 1.4. With the latest development
&lt;br&gt;&amp;gt; version everything sshould work as-is with no tweaks.
&lt;br&gt;&lt;br&gt;Thanks for your work on this.
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/is-this-a-bug--tp26146897p26268201.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266693</id>
	<title>Active-Record jdbc adapter for OpenEdge databases</title>
	<published>2009-11-09T05:49:13Z</published>
	<updated>2009-11-09T05:49:13Z</updated>
	<author>
		<name>Philippe Cantin</name>
	</author>
	<content type="html">Hey !&lt;br&gt;&lt;br&gt;We work for 2 monthes on an adaptor for Progress OpenEdge Databases(1).&lt;br&gt;First release is up, with units tests and moreover tested in &amp;quot;real word&amp;quot; on a big project for one of our customers.&lt;br&gt;It works really fine for now, and we&amp;#39;d want to include it as part of active-record jdbc adapters pack  (under MIT license ?).&lt;br&gt;
&lt;br&gt;We ask for you agreement, and thank you for advicing us about the procedure.&lt;br&gt;&lt;br&gt;For now the adapter sources are on our github repository  : &lt;a href=&quot;http://github.com/kantena/activerecord-openedge-adapter&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/kantena/activerecord-openedge-adapter&lt;/a&gt;&lt;br&gt;
&lt;br&gt;(1) &lt;a href=&quot;http://web.progress.com/openedge/database-products.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://web.progress.com/openedge/database-products.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(51, 51, 153);&quot;&gt;&lt;span style=&quot;font-weight: bold; font-family: tahoma,sans-serif;&quot;&gt;Cantin Philippe&lt;/span&gt;&lt;br style=&quot;font-weight: bold; font-family: tahoma,sans-serif;&quot;&gt;
&lt;span style=&quot;font-weight: bold; font-family: tahoma,sans-serif;&quot;&gt;Développeur Java/J2EE , Ruby/Rails&lt;/span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(255, 153, 0);&quot;&gt;&lt;span style=&quot;color: rgb(51, 51, 153);&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Courriel&lt;/span&gt; :&lt;span style=&quot;font-style: italic;&quot;&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26266693&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pca@...&lt;/a&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(51, 51, 153);&quot;&gt;&lt;br&gt;
                       &lt;/span&gt;&lt;br style=&quot;background-color: rgb(255, 255, 255); color: rgb(51, 51, 153);&quot;&gt;&lt;span style=&quot;background-color: rgb(255, 153, 0); color: rgb(51, 51, 153); font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: georgia,serif;&quot;&gt;Kantena&lt;/span&gt; Paris XIème . France&lt;/span&gt;&lt;br style=&quot;background-color: rgb(255, 255, 255); color: rgb(51, 51, 153);&quot;&gt;
&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(255, 153, 0);&quot;&gt;&lt;span style=&quot;color: rgb(51, 51, 153);&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); font-style: italic;&quot;&gt;&lt;a href=&quot;http://www.kantena.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.kantena.com&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Active-Record-jdbc-adapter-for-OpenEdge-databases-tp26266693p26266693.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26264690</id>
	<title>[jira] Created: (JRUBY-4223) java map objects not working correctly with embedded jruby</title>
	<published>2009-11-09T03:16:55Z</published>
	<updated>2009-11-09T03:16:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">java map objects not working correctly with embedded jruby
&lt;br&gt;----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JRUBY-4223
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4223&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4223&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JRuby
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Embedding
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JRuby 1.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: windows xp, tomcat 6, jruby 1.4, bsf api 3.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Ed S
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: samplecode.rar
&lt;br&gt;&lt;br&gt;code below works with JRuby CLI but not in embedded JRuby
&lt;br&gt;MyHash = {&amp;quot;1&amp;quot; =&amp;gt; &amp;quot;One&amp;quot;, &amp;quot;2&amp;quot; =&amp;gt; &amp;quot;Two&amp;quot;, &amp;quot;3&amp;quot; =&amp;gt; &amp;quot;Three&amp;quot;, &amp;quot;4&amp;quot; =&amp;gt; &amp;quot;Four&amp;quot;}
&lt;br&gt;def getMaxList(hash,num)
&lt;br&gt;&amp;nbsp; (num &amp;lt; hash.size) ? hash.values[0..num-1] : hash.values
&lt;br&gt;end
&lt;br&gt;puts getMaxList(MyHash,2).inspect
&lt;br&gt;&lt;br&gt;need to use the alternate form instead
&lt;br&gt;def getMaxList(hash,num)
&lt;br&gt;&amp;nbsp; result = []
&lt;br&gt;&amp;nbsp; for i in 0..num-1
&lt;br&gt;&amp;nbsp; &amp;nbsp; result &amp;lt;&amp;lt; hash[i.to_s]
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;&amp;nbsp; result
&lt;br&gt;end
&lt;br&gt;The error I get with the first form of the code &amp;nbsp;is
&lt;br&gt;&amp;lt;script&amp;gt;:6:in `getMaxList': undefined method `[]' for #&amp;lt;#&amp;lt;Class:01x12e5c94&amp;gt;:0xbffc3a&amp;gt; (NoMethodError)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from &amp;lt;script&amp;gt;:4:in `each'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from &amp;lt;script&amp;gt;:4:in `getMaxList'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from :1
&lt;br&gt;org.jruby.embed.InvokeFailedException: undefined method `[]' for #&amp;lt;#&amp;lt;Class:01x12e5c94&amp;gt;:0xbffc3a&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call(EmbedRubyObjectAdapterImpl.java:369)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.callMethod(EmbedRubyObjectAdapterImpl.java:188)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jruby.embed.ScriptingContainer.callMethod(ScriptingContainer.java:585)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jruby.embed.jsr223.JRubyEngine.invokeFunction(JRubyEngine.java:278) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4223%29-java-map-objects-not-working-correctly-with-embedded-jruby-tp26264690p26264690.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26262913</id>
	<title>Re: is this a bug?</title>
	<published>2009-11-09T00:46:30Z</published>
	<updated>2009-11-09T00:46:30Z</updated>
	<author>
		<name>Vladimir Sizikov-2</name>
	</author>
	<content type="html">Hi Roger, folks,
&lt;br&gt;&lt;br&gt;On Sun, Nov 1, 2009 at 12:46 PM, Vladimir Sizikov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26262913&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vsizikov@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; As a workaround, type the following before starting the installation process:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; set rake=jruby -S rake
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That would allow to install the gem.
&lt;br&gt;&lt;br&gt;The root problem has been fixed on JRuby's master branch, so the
&lt;br&gt;workaround is only needed for JRuby 1.4. With the latest development
&lt;br&gt;version everything sshould work as-is with no tweaks.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; --Vladimir
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/is-this-a-bug--tp26146897p26262913.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26262885</id>
	<title>Re: how about this one? (is it a bug)</title>
	<published>2009-11-09T00:43:20Z</published>
	<updated>2009-11-09T00:43:20Z</updated>
	<author>
		<name>Vladimir Sizikov-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;The problem was two-fold.
&lt;br&gt;&lt;br&gt;1. Minor JRuby incompatibility. 'sane' gem is doing pretty low-level
&lt;br&gt;tricks with core classes. While investigating this a nice way to
&lt;br&gt;speed-up some very common Array operations has been discovered (from
&lt;br&gt;25% to 200%!), which is all good. :)
&lt;br&gt;&lt;br&gt;2. whichr doesn't detect the Windows pratform properly on JRuby. I
&lt;br&gt;keep seeing this over and over again, so I even wrote a blog entry to
&lt;br&gt;bring attention to this problem:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://blog.emptyway.com/2009/11/03/proper-way-to-detect-windows-platform-in-ruby/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.emptyway.com/2009/11/03/proper-way-to-detect-windows-platform-in-ruby/&lt;/a&gt;&lt;br&gt;&lt;br&gt;'whichr' gem needs to be corrected.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; --Vladimir
&lt;br&gt;&lt;br&gt;P.S. Thanks for filing the bug in our JIRA:
&lt;br&gt;&lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4205&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4205&lt;/a&gt;&lt;br&gt;&lt;br&gt;On Mon, Nov 2, 2009 at 7:13 PM, Roger Pack &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26262885&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; $ jgem install sane
&lt;br&gt;&amp;gt; $ jgem install whichr
&lt;br&gt;&amp;gt; $ whichr jgem
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /home/rdp/installs/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/whichr-0.1.9/lib/whichr.rb:38:in
&lt;br&gt;&amp;gt; `which': stack level too deep (SystemStackError)
&lt;br&gt;&amp;gt;        from
&lt;br&gt;&amp;gt; /home/rdp/installs/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/whichr-0.1.9/lib/whichr.rb:27:in
&lt;br&gt;&amp;gt; `each'
&lt;br&gt;&amp;gt;        from
&lt;br&gt;&amp;gt; /home/rdp/installs/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/whichr-0.1.9/lib/whichr.rb:27:in
&lt;br&gt;&amp;gt; `which'
&lt;br&gt;&amp;gt;        from
&lt;br&gt;&amp;gt; /home/rdp/installs/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/whichr-0.1.9/lib/whichr.rb:26:in
&lt;br&gt;&amp;gt; `each'
&lt;br&gt;&amp;gt;        from
&lt;br&gt;&amp;gt; /home/rdp/installs/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/whichr-0.1.9/lib/whichr.rb:26:in
&lt;br&gt;&amp;gt; `which'
&lt;br&gt;&amp;gt;        from
&lt;br&gt;&amp;gt; /home/rdp/installs/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/whichr-0.1.9/lib/whichr.rb:62:in
&lt;br&gt;&amp;gt; `process'
&lt;br&gt;&amp;gt;        from
&lt;br&gt;&amp;gt; /home/rdp/installs/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/whichr-0.1.9/bin/whichr:25
&lt;br&gt;&amp;gt;        from
&lt;br&gt;&amp;gt; /home/rdp/installs/jruby-1.4.0RC3/lib/ruby/gems/1.8/gems/whichr-0.1.9/bin/whichr:19:in
&lt;br&gt;&amp;gt; `load'
&lt;br&gt;&amp;gt;        from ./whichr:19
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [on jruby but not 1.8 or 1.9 MRI].
&lt;br&gt;&amp;gt; -r
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-about-this-one--%28is-it-a-bug%29-tp26168363p26262885.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26254732</id>
	<title>Re: [jira] Created: (JRUBY-4218) jruby loads src/builtin/generator.rb ahead of any other file named generator</title>
	<published>2009-11-08T07:28:36Z</published>
	<updated>2009-11-08T07:28:36Z</updated>
	<author>
		<name>Hirotsugu Asari</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 7, 2009, at 3:02 PM, James Britt wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hirotsugu Asari wrote:
&lt;br&gt;&amp;gt;&amp;gt; I haven't read too much into the issue, so correct me if I'm wrong.
&lt;br&gt;&amp;gt;&amp;gt; As I understand it, by the time org.jruby.Ruby.parseFile() is &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; called on test.rb, an org.jruby.Ruby.init() has already been called &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; and builtins has already been loaded. By the same token, &amp;quot;prelude&amp;quot;, &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;java&amp;quot;, etc., are also susceptible to this startup logic.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't think so.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I added a puts call to to my copy of src/builtin.generator.rb to &amp;nbsp;
&lt;br&gt;&amp;gt; announce when it was loaded. &amp;nbsp;I only see that if I call &amp;quot;require &amp;nbsp;
&lt;br&gt;&amp;gt; 'generator' (no matter how I arrange my $: values).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you take test.rb, drop the call to &amp;quot;require 'generator'&amp;quot;, and &amp;nbsp;
&lt;br&gt;&amp;gt; have it print something and exit, src/builtin.generator.rb &amp;nbsp;does not &amp;nbsp;
&lt;br&gt;&amp;gt; get loaded.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So It appears to be &amp;nbsp;a load path issue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; James
&lt;/div&gt;&lt;br&gt;Hi, James,
&lt;br&gt;&lt;br&gt;You're right about what is actually loaded. Upon further reading, I &amp;nbsp;
&lt;br&gt;see that JRuby won't load these builtin libraries during startup; it &amp;nbsp;
&lt;br&gt;just populates builtinLibraries.
&lt;br&gt;&lt;br&gt;When it comes time to 'require', &amp;nbsp;
&lt;br&gt;org.jruby.runtime.load.LoadService.findLibraryWithoutCWD() looks for &amp;nbsp;
&lt;br&gt;built-in libraries first no matter what. There, only builtinLibraries &amp;nbsp;
&lt;br&gt;is consulted to find an appropriate library.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4218%29-jruby-loads-src-builtin-generator.rb-ahead-of-any-other-file-named-generator-tp26224801p26254732.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26253479</id>
	<title>[jira] Created: (JRUBY-4222) [1.9] Enumerator.with_index accepts an starting index</title>
	<published>2009-11-08T04:49:55Z</published>
	<updated>2009-11-08T04:49:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">[1.9] Enumerator.with_index accepts an starting index
&lt;br&gt;-----------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JRUBY-4222
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4222&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4222&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JRuby
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Core Classes/Modules, Ruby 1.9
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: David Calavera
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: with_index.patch
&lt;br&gt;&lt;br&gt;the attached patch solves the bug. Rubyspec already contains some specs to test this behavior.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4222%29--1.9--Enumerator.with_index-accepts-an-starting-index-tp26253479p26253479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26250132</id>
	<title>Re: jruby 1.4 CLI vs. embedded syntax difference?</title>
	<published>2009-11-07T17:07:59Z</published>
	<updated>2009-11-07T17:07:59Z</updated>
	<author>
		<name>ed_s</name>
	</author>
	<content type="html">Yoko,
&lt;br&gt;&amp;nbsp; You are correct. I instantiate a Map object in Java and pass it as an argument to the ruby function. I will go ahead and file an issue.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ed
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Yoko Harada&quot;&gt;&lt;br&gt;&amp;gt;From the exception, I guess you created a java.lang.Map type object
&lt;br&gt;&amp;gt;and called Ruby method with that object in its argument. Right?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;This is a Java integration related problem. I think this seems to be a
&lt;br&gt;&amp;gt;bug since Map type object didn't converted to Ruby's Hash. &amp;nbsp;In the
&lt;br&gt;&amp;gt;method, getMaxList, &amp;nbsp;the Java's Map type object was there as a &amp;quot;hash.&amp;quot;
&lt;br&gt;&amp;gt;Because Java's Map and its descendants don't have &amp;quot;each&amp;quot; method, &amp;nbsp;you
&lt;br&gt;&amp;gt;got the error. Would you file this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;-Yoko
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jruby-1.4-CLI-vs.-embedded-syntax-difference--tp26235462p26250132.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248543</id>
	<title>Re: [jira] Created: (JRUBY-4218) jruby loads src/builtin/generator.rb ahead of any other file named generator</title>
	<published>2009-11-07T13:02:18Z</published>
	<updated>2009-11-07T13:02:18Z</updated>
	<author>
		<name>James Britt</name>
	</author>
	<content type="html">Hirotsugu Asari wrote:
&lt;br&gt;&amp;gt; I haven't read too much into the issue, so correct me if I'm wrong.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As I understand it, by the time org.jruby.Ruby.parseFile() is called on 
&lt;br&gt;&amp;gt; test.rb, an org.jruby.Ruby.init() has already been called and builtins 
&lt;br&gt;&amp;gt; has already been loaded. By the same token, &amp;quot;prelude&amp;quot;, &amp;quot;java&amp;quot;, etc., are 
&lt;br&gt;&amp;gt; also susceptible to this startup logic.
&lt;br&gt;&lt;br&gt;I don't think so.
&lt;br&gt;&lt;br&gt;I added a puts call to to my copy of src/builtin.generator.rb to 
&lt;br&gt;announce when it was loaded. &amp;nbsp;I only see that if I call &amp;quot;require 
&lt;br&gt;'generator' (no matter how I arrange my $: values).
&lt;br&gt;&lt;br&gt;If you take test.rb, drop the call to &amp;quot;require 'generator'&amp;quot;, and have it 
&lt;br&gt;print something and exit, src/builtin.generator.rb &amp;nbsp;does not get loaded.
&lt;br&gt;&lt;br&gt;So It appears to be &amp;nbsp;a load path issue.
&lt;br&gt;&lt;br&gt;James
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Neurogami - Smart application development
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.neurogami.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.neurogami.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248543&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;james@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4218%29-jruby-loads-src-builtin-generator.rb-ahead-of-any-other-file-named-generator-tp26224801p26248543.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248343</id>
	<title>Re: jruby 1.4 CLI vs. embedded syntax difference?</title>
	<published>2009-11-07T12:35:27Z</published>
	<updated>2009-11-07T12:35:27Z</updated>
	<author>
		<name>Yoko Harada</name>
	</author>
	<content type="html">On Fri, Nov 6, 2009 at 10:07 PM, ed_s &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248343&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ed_sumitra@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a JRuby script that works fine through the JRuby command line. However
&lt;br&gt;&amp;gt; when I execute the same script in an embedded environment, Tomcat/bsf/jruby,
&lt;br&gt;&amp;gt; I get undefined method errors. Any pointers as to why the script does not
&lt;br&gt;&amp;gt; work in the embedded environment?
&lt;br&gt;&lt;br&gt;From the exception, I guess you created a java.lang.Map type object
&lt;br&gt;and called Ruby method with that object in its argument. Right?
&lt;br&gt;&lt;br&gt;This is a Java integration related problem. I think this seems to be a
&lt;br&gt;bug since Map type object didn't converted to Ruby's Hash. &amp;nbsp;In the
&lt;br&gt;method, getMaxList, &amp;nbsp;the Java's Map type object was there as a &amp;quot;hash.&amp;quot;
&lt;br&gt;Because Java's Map and its descendants don't have &amp;quot;each&amp;quot; method, &amp;nbsp;you
&lt;br&gt;got the error. Would you file this?
&lt;br&gt;&lt;br&gt;-Yoko
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Ed
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; code below works with JRuby CLI but not in embedded JRuby!!!
&lt;br&gt;&amp;gt; MyHash = {&amp;quot;1&amp;quot; =&amp;gt; &amp;quot;One&amp;quot;, &amp;quot;2&amp;quot; =&amp;gt; &amp;quot;Two&amp;quot;, &amp;quot;3&amp;quot; =&amp;gt; &amp;quot;Three&amp;quot;, &amp;quot;4&amp;quot; =&amp;gt; &amp;quot;Four&amp;quot;}
&lt;br&gt;&amp;gt; def getMaxList(hash,num)
&lt;br&gt;&amp;gt;  (num &amp;lt; hash.size) ? hash.values[0..num-1] : hash.values
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt; puts getMaxList(MyHash,2).inspect
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; need to use the alternate form below instead
&lt;br&gt;&amp;gt; def getMaxList(hash,num)
&lt;br&gt;&amp;gt;  result = []
&lt;br&gt;&amp;gt;  for i in 0..num-1
&lt;br&gt;&amp;gt;    result &amp;lt;&amp;lt; hash[i.to_s]
&lt;br&gt;&amp;gt;  end
&lt;br&gt;&amp;gt;  result
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The error I get with the first form of the code  is
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;script&amp;gt;:6:in `getMaxList': undefined method `[]' for
&lt;br&gt;&amp;gt; #&amp;lt;#&amp;lt;Class:01x12e5c94&amp;gt;:0xbffc3a&amp;gt; (NoMethodError)
&lt;br&gt;&amp;gt;        from &amp;lt;script&amp;gt;:4:in `each'
&lt;br&gt;&amp;gt;        from &amp;lt;script&amp;gt;:4:in `getMaxList'
&lt;br&gt;&amp;gt;        from :1
&lt;br&gt;&amp;gt; org.jruby.embed.InvokeFailedException: undefined method `[]' for
&lt;br&gt;&amp;gt; #&amp;lt;#&amp;lt;Class:01x12e5c94&amp;gt;:0xbffc3a&amp;gt;
&lt;br&gt;&amp;gt;        at
&lt;br&gt;&amp;gt; org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call(EmbedRubyObjectAdapterImpl.java:369)
&lt;br&gt;&amp;gt;        at
&lt;br&gt;&amp;gt; org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.callMethod(EmbedRubyObjectAdapterImpl.java:188)
&lt;br&gt;&amp;gt;        at
&lt;br&gt;&amp;gt; org.jruby.embed.ScriptingContainer.callMethod(ScriptingContainer.java:585)
&lt;br&gt;&amp;gt;        at
&lt;br&gt;&amp;gt; org.jruby.embed.jsr223.JRubyEngine.invokeFunction(JRubyEngine.java:278)
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/jruby-1.4-CLI-vs.-embedded-syntax-difference--tp26235462p26235462.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/jruby-1.4-CLI-vs.-embedded-syntax-difference--tp26235462p26235462.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the JRuby - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jruby-1.4-CLI-vs.-embedded-syntax-difference--tp26235462p26248343.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26245406</id>
	<title>Re: Package support?</title>
	<published>2009-11-07T06:43:58Z</published>
	<updated>2009-11-07T06:43:58Z</updated>
	<author>
		<name>Charles Oliver Nutter-4</name>
	</author>
	<content type="html">Ok, I see that there is rudimentary package support based on the
&lt;br&gt;relative dir in which the file lives. Is that what &amp;quot;we&amp;quot; want? One
&lt;br&gt;thing that's always bugged me about Java files is that they have to be
&lt;br&gt;in the dir structure; but on the other hand, we can't make it *not*
&lt;br&gt;require .class files be in that structure.
&lt;br&gt;&lt;br&gt;Perhaps what actually annoyed me was that you had to put it in the
&lt;br&gt;appropriate path *and* have a &amp;quot;package&amp;quot; declaration in the file?
&lt;br&gt;&lt;br&gt;On Sat, Nov 7, 2009 at 2:51 PM, Charles Oliver Nutter
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245406&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;headius@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm adding package support now, but if you (Ryan) already added it,
&lt;br&gt;&amp;gt; let me know. It should be pretty basic, at any rate; an attr_accessor
&lt;br&gt;&amp;gt; :package on Script and a PackageNode + macro to create it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Exciting example:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; package org.jruby
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Charlie
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Package-support--tp26244993p26245406.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244993</id>
	<title>Package support?</title>
	<published>2009-11-07T05:51:06Z</published>
	<updated>2009-11-07T05:51:06Z</updated>
	<author>
		<name>Charles Oliver Nutter-4</name>
	</author>
	<content type="html">I'm adding package support now, but if you (Ryan) already added it,
&lt;br&gt;let me know. It should be pretty basic, at any rate; an attr_accessor
&lt;br&gt;:package on Script and a PackageNode + macro to create it.
&lt;br&gt;&lt;br&gt;Exciting example:
&lt;br&gt;&lt;br&gt;package org.jruby
&lt;br&gt;&lt;br&gt;- Charlie
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Package-support--tp26244993p26244993.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244010</id>
	<title>Raising Native Exceptions</title>
	<published>2009-11-07T03:43:20Z</published>
	<updated>2009-11-07T03:43:20Z</updated>
	<author>
		<name>Fouad Mardini</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hello,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;I am having an issue with raising java exceptions from ruby&lt;/div&gt;&lt;div&gt;Googling around I found this &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-1615&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-1615&lt;/a&gt; which would suggest the issue was solved&lt;/div&gt;

&lt;div&gt;I am running jruby right out of git (branch jruby-1_4)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Boils down to this:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;require &amp;#39;java&amp;#39;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;begin&lt;/div&gt;&lt;div&gt;  raise java.lang.Exception.new(&amp;quot;Hello&amp;quot;)&lt;/div&gt;

&lt;div&gt;  # raise Exception.new(&amp;quot;Hello&amp;quot;)&lt;/div&gt;&lt;div&gt;rescue Object =&amp;gt; e&lt;/div&gt;&lt;div&gt;  puts e.to_s&lt;/div&gt;&lt;div&gt;end&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks for any pointers :)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;--&lt;br&gt;


&lt;/div&gt;&lt;div&gt;Fouad Mardini&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Raising-Native-Exceptions-tp26244010p26244010.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26241848</id>
	<title>Re: [jira] Created: (JRUBY-4218) jruby loads src/builtin/generator.rb ahead of any other file named generator</title>
	<published>2009-11-06T19:36:26Z</published>
	<updated>2009-11-06T19:36:26Z</updated>
	<author>
		<name>Hirotsugu Asari</name>
	</author>
	<content type="html">I haven't read too much into the issue, so correct me if I'm wrong.
&lt;br&gt;&lt;br&gt;As I understand it, by the time org.jruby.Ruby.parseFile() is called &amp;nbsp;
&lt;br&gt;on test.rb, an org.jruby.Ruby.init() has already been called and &amp;nbsp;
&lt;br&gt;builtins has already been loaded. By the same token, &amp;quot;prelude&amp;quot;, &amp;nbsp;
&lt;br&gt;&amp;quot;java&amp;quot;, etc., are also susceptible to this startup logic.
&lt;br&gt;&lt;br&gt;On Nov 5, 2009, at 6:14 PM, James Britt (JIRA) wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; jruby loads src/builtin/generator.rb &amp;nbsp;ahead of any other file named &amp;nbsp;
&lt;br&gt;&amp;gt; generator
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JRUBY-4218
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4218&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4218&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JRuby
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Core Classes/Modules
&lt;br&gt;&amp;gt; &amp;nbsp; Affects Versions: JRuby 1.5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) &amp;nbsp;
&lt;br&gt;&amp;gt; (2009-11-05 6586) (Java HotSpot(TM) Client VM 1.6.0_14) [i386-java]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Kubuntu 8.04.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: James Britt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Example; 2 files, in the same directory.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #------- generator.rb -----------
&lt;br&gt;&amp;gt; warn &amp;quot;#{__FILE__} is loaded&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; class MyGen
&lt;br&gt;&amp;gt; def foo
&lt;br&gt;&amp;gt; &amp;nbsp; __FILE__
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt; #--------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #--------------- test.rb -------------------
&lt;br&gt;&amp;gt; here = File.expand_path(File.dirname(__FILE__))
&lt;br&gt;&amp;gt; $:.unshift here
&lt;br&gt;&amp;gt; require 'generator.rb'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; begin
&lt;br&gt;&amp;gt; p MyGen.new.foo
&lt;br&gt;&amp;gt; rescue
&lt;br&gt;&amp;gt; warn $!
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt; #--------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Line 2 in test.rb forces the current directory to the head of the &amp;nbsp;
&lt;br&gt;&amp;gt; load path, so
&lt;br&gt;&amp;gt; local files should be found and loaded first.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Execute test.rb using MRI (for example)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ ruby test.rb
&lt;br&gt;&amp;gt; /home/james/tmp/jruby-require-bug/generator.rb is loaded
&lt;br&gt;&amp;gt; &amp;quot;/home/james/tmp/jruby-require-bug/generator.rb&amp;quot;
&lt;br&gt;&amp;gt; $
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Try with jruby:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ ruby jtest.rb
&lt;br&gt;&amp;gt; uninitialized constant MyGen
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; JRuby is loading sr/builtin/generator.rb despite the values in $:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (You can check this by adding a puts statement to that file to &amp;nbsp;
&lt;br&gt;&amp;gt; indicate when it gets loaded.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; This message is automatically generated by JIRA.
&lt;br&gt;&amp;gt; -
&lt;br&gt;&amp;gt; If you think it was sent incorrectly contact one of the &amp;nbsp;
&lt;br&gt;&amp;gt; administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;&amp;gt; -
&lt;br&gt;&amp;gt; For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4218%29-jruby-loads-src-builtin-generator.rb-ahead-of-any-other-file-named-generator-tp26224801p26241848.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26235462</id>
	<title>jruby 1.4 CLI vs. embedded syntax difference?</title>
	<published>2009-11-06T19:07:10Z</published>
	<updated>2009-11-06T19:07:10Z</updated>
	<author>
		<name>ed_s</name>
	</author>
	<content type="html">I have a JRuby script that works fine through the JRuby command line. However when I execute the same script in an embedded environment, Tomcat/bsf/jruby, I get undefined method errors. Any pointers as to why the script does not work in the embedded environment?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ed
&lt;br&gt;&lt;br&gt;code below works with JRuby CLI but not in embedded JRuby!!!
&lt;br&gt;MyHash = {&amp;quot;1&amp;quot; =&amp;gt; &amp;quot;One&amp;quot;, &amp;quot;2&amp;quot; =&amp;gt; &amp;quot;Two&amp;quot;, &amp;quot;3&amp;quot; =&amp;gt; &amp;quot;Three&amp;quot;, &amp;quot;4&amp;quot; =&amp;gt; &amp;quot;Four&amp;quot;}
&lt;br&gt;def getMaxList(hash,num)
&lt;br&gt;&amp;nbsp; (num &amp;lt; hash.size) ? hash.values[0..num-1] : hash.values
&lt;br&gt;end
&lt;br&gt;puts getMaxList(MyHash,2).inspect
&lt;br&gt;&lt;br&gt;need to use the alternate form below instead
&lt;br&gt;def getMaxList(hash,num)
&lt;br&gt;&amp;nbsp; result = []
&lt;br&gt;&amp;nbsp; for i in 0..num-1
&lt;br&gt;&amp;nbsp; &amp;nbsp; result &amp;lt;&amp;lt; hash[i.to_s]
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;&amp;nbsp; result
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;The error I get with the first form of the code &amp;nbsp;is
&lt;br&gt;&lt;br&gt;&amp;lt;script&amp;gt;:6:in `getMaxList': undefined method `[]' for #&amp;lt;#&amp;lt;Class:01x12e5c94&amp;gt;:0xbffc3a&amp;gt; (NoMethodError)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from &amp;lt;script&amp;gt;:4:in `each'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from &amp;lt;script&amp;gt;:4:in `getMaxList'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from :1
&lt;br&gt;org.jruby.embed.InvokeFailedException: undefined method `[]' for #&amp;lt;#&amp;lt;Class:01x12e5c94&amp;gt;:0xbffc3a&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call(EmbedRubyObjectAdapterImpl.java:369)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.callMethod(EmbedRubyObjectAdapterImpl.java:188)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jruby.embed.ScriptingContainer.callMethod(ScriptingContainer.java:585)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jruby.embed.jsr223.JRubyEngine.invokeFunction(JRubyEngine.java:278) &lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jruby-1.4-CLI-vs.-embedded-syntax-difference--tp26235462p26235462.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26237895</id>
	<title>Re: Where was fileutils gone?</title>
	<published>2009-11-06T12:03:47Z</published>
	<updated>2009-11-06T12:03:47Z</updated>
	<author>
		<name>Yoko Harada</name>
	</author>
	<content type="html">Hi Vladimir,
&lt;br&gt;&lt;br&gt;On Fri, Nov 6, 2009 at 2:17 PM, Vladimir Sizikov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26237895&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vsizikov@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi Yoko,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; While we're at it, how do you launch you test runs for the embedded stuff?
&lt;br&gt;&amp;gt; 'ant run-junit-embed' or something else?
&lt;br&gt;&lt;br&gt;I run 'ant run-junit-embed' and click run-junit-embed target on NetBeans.
&lt;br&gt;&lt;br&gt;&amp;gt; When running 'ant run-junit-embed', I see occasional stacktraces
&lt;br&gt;&amp;gt; during the runs,
&lt;br&gt;&amp;gt; but the end result is all OK. Is that how it is supposed to be?
&lt;br&gt;&lt;br&gt;Exceptions raised NOT from MultipleScriptsRunnerTest are normal. I'm
&lt;br&gt;testing whether the exceptions are raised as I expected or not. But,
&lt;br&gt;exceptions from MultipleScriptsRunnerTest show something wrong are
&lt;br&gt;happening there. In that test, I'm trying to test all scripts under
&lt;br&gt;the test directory. Some of exceptions are perhaps raised because
&lt;br&gt;usages are wrong. Some of them are probably bugs of embedding API or
&lt;br&gt;JRuby only when scripts are executed from embedding API.
&lt;br&gt;&lt;br&gt;I should fix bugs and usages, but currently, I run
&lt;br&gt;MultipleScriptsRunnerTest to know things are not going worse. So, I
&lt;br&gt;neglect all exceptions so that test can go through as many test as
&lt;br&gt;possible. This is why results are OK although exceptions are raised.
&lt;br&gt;&lt;br&gt;BTW, thank you for testing embedding. Your report was helpful since I
&lt;br&gt;don't have windows at all.
&lt;br&gt;&lt;br&gt;-Yoko
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;  --Vladimir
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Fri, Nov 6, 2009 at 6:27 PM, Yoko Harada &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26237895&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yokolet@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Fri, Nov 6, 2009 at 10:25 AM, Hirotsugu Asari &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26237895&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asari.ruby@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If you keep up with trunk, often build artifacts get in the way over time.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Try 'ant clean jar', which I find effective in such a case.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank you. You're right. After I did &amp;quot;ant clean,&amp;quot; all tests passed.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Yoko
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hiro
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Nov 6, 2009, at 8:31 AM, Yoko Harada &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26237895&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yokolet@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Today, many embed test failed because of the error:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   /Users/yoko/DevSpace/jruby~main/lib/ruby/1.8/tmpdir.rb:7:in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `require': IO error -- fileutils (LoadError)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This happned on rev a0decb3. The tests passed successfully on rev
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 481fa4d, so a change after that causes this error.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Where was fileutils gone?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Yoko
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-was-fileutils-gone--tp26232920p26237895.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26237283</id>
	<title>Re: Where was fileutils gone?</title>
	<published>2009-11-06T11:17:03Z</published>
	<updated>2009-11-06T11:17:03Z</updated>
	<author>
		<name>Vladimir Sizikov-2</name>
	</author>
	<content type="html">Hi Yoko,
&lt;br&gt;&lt;br&gt;While we're at it, how do you launch you test runs for the embedded stuff?
&lt;br&gt;'ant run-junit-embed' or something else?
&lt;br&gt;When running 'ant run-junit-embed', I see occasional stacktraces
&lt;br&gt;during the runs,
&lt;br&gt;but the end result is all OK. Is that how it is supposed to be?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; --Vladimir
&lt;br&gt;&lt;br&gt;On Fri, Nov 6, 2009 at 6:27 PM, Yoko Harada &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26237283&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yokolet@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, Nov 6, 2009 at 10:25 AM, Hirotsugu Asari &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26237283&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asari.ruby@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; If you keep up with trunk, often build artifacts get in the way over time.
&lt;br&gt;&amp;gt;&amp;gt; Try 'ant clean jar', which I find effective in such a case.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you. You're right. After I did &amp;quot;ant clean,&amp;quot; all tests passed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Yoko
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Hiro
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Nov 6, 2009, at 8:31 AM, Yoko Harada &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26237283&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yokolet@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Today, many embed test failed because of the error:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   /Users/yoko/DevSpace/jruby~main/lib/ruby/1.8/tmpdir.rb:7:in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; `require': IO error -- fileutils (LoadError)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This happned on rev a0decb3. The tests passed successfully on rev
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 481fa4d, so a change after that causes this error.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Where was fileutils gone?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -Yoko
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-was-fileutils-gone--tp26232920p26237283.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26237210</id>
	<title>Re: JRuby startup very slow on Win7</title>
	<published>2009-11-06T11:11:47Z</published>
	<updated>2009-11-06T11:11:47Z</updated>
	<author>
		<name>Roger Pack-5</name>
	</author>
	<content type="html">G N wrote:
&lt;br&gt;&amp;gt; Mate, did you set that RUBYOPT explicitly or was it set by default by
&lt;br&gt;&amp;gt; Windows installer?
&lt;br&gt;I setted nothing, I am newbie. :)
&lt;br&gt;&lt;br&gt;&amp;gt; I guess the other idea for better startup performance: NailGun
&lt;br&gt;&amp;gt; Have only checked with 1.3, but most probably works with 1.4 too:
&lt;br&gt;With NailGun JRuby crashes if I started it from console (&amp;quot;cmd&amp;quot;) or from 
&lt;br&gt;a batch script. (SocketException: Connection reset) It starts up in 1.0 
&lt;br&gt;second if I run it from a Perl script.
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JRuby-startup-very-slow-on-Win7-tp26234611p26237210.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26236669</id>
	<title>[jira] Created: (JRUBY-4221) AR-JDBC: CREATE VIEW wrongly executed as query, fails because doesn't return result set</title>
	<published>2009-11-06T10:36:55Z</published>
	<updated>2009-11-06T10:36:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">AR-JDBC: CREATE VIEW wrongly executed as query, fails because doesn't return result set
&lt;br&gt;---------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JRUBY-4221
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4221&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4221&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JRuby
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Miscellaneous
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JRuby 1.3.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: JRuby 1.3.1 on JDK 1.6.0_16; Rails 2.3.2; fully updated Windows 2008 Enterprise; fully updated MS SQL Server 2005
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Christopher Jeris
&lt;br&gt;&lt;br&gt;&lt;br&gt;[I was unable to file this bug on the AR-JDBC project on kenai; I got the message &amp;quot;Errors: Reporter: Reporter is required&amp;quot;, but I was logged into kenai, and there was no reporter field visible.]
&lt;br&gt;&lt;br&gt;The following database migration fragment:
&lt;br&gt;&amp;nbsp; &amp;nbsp; execute %{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CREATE VIEW catenated_titles WITH SCHEMABINDING AS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SELECT id, (title_nonsort_prefix + sort_title) AS catenated_title
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FROM biblio.core_records
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;yields the following error when 'rake db:migrate --trace' is run:
&lt;br&gt;rake aborted!
&lt;br&gt;An error has occurred, all later migrations canceled:
&lt;br&gt;&lt;br&gt;ActiveRecord::ActiveRecordError: The statement did not return a result set.:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CREATE VIEW catenated_titles AS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SELECT id, (title_nonsort_prefix + sort_title) AS catenated_title
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FROM biblio.core_records
&lt;br&gt;&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract_adapter.rb:212:in `log'
&lt;br&gt;I:/work/biblio/trunk/biblio/vendor/gems/activerecord-jdbc-adapter-0.9.2/lib/active_record/connection_adapters/jdbc_adapter.rb:565:in `execute'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:352:in `method_missing'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:328:in `say_with_time'
&lt;br&gt;c:/jruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:328:in `say_with_time'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:348:in `method_missing'
&lt;br&gt;db/migrate//20091106170821_create_catenated_titles.rb:3:in `up'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:282:in `migrate'
&lt;br&gt;c:/jruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:282:in `migrate'
&lt;br&gt;(__DELEGATION__):2:in `migrate'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:486:in `migrate'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:562:in `call'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:562:in `ddl_transaction'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:485:in `migrate'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:472:in `each'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:472:in `migrate'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:400:in `up'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:383:in `migrate'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/databases.rake:116
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
&lt;br&gt;c:/jruby/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
&lt;br&gt;C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in `load'
&lt;br&gt;c:\jruby\bin\rake:19
&lt;br&gt;&lt;br&gt;The problem comes from _execute in lib/jdbc_adapters/jdbc_mssql.rb:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; def _execute(sql, name = nil)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; # [...]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; elsif sql.lstrip =~ /^\(?\s*(select|show)/i
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; repair_special_columns(sql)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @connection.execute_query(sql)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; # [...]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;&lt;br&gt;The CREATE VIEW statement above is recognized as a query because the SELECT keyword appears at the beginning of the second line.
&lt;br&gt;&lt;br&gt;I don't know what the right way to do the recognition is. &amp;nbsp;Maybe DDL statements should always be executed using execute_update?
&lt;br&gt;&lt;br&gt;A workaround for the problem is to move AS from the end of the first line to the start of the second.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4221%29-AR-JDBC%3A-CREATE-VIEW-wrongly-executed-as-query%2C-fails-because-doesn%27t-return-result-set-tp26236669p26236669.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26236673</id>
	<title>[jira] Created: (JRUBY-4220) File.dirname(__FILE__) doesn't return correct value when a script is loaded from classpath</title>
	<published>2009-11-06T10:36:55Z</published>
	<updated>2009-11-06T10:36:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">File.dirname(__FILE__) doesn't return correct value when a script is loaded from classpath
&lt;br&gt;------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JRUBY-4220
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JRUBY-4220&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4220&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JRuby
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Embedding
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JRuby 1.5
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Yoko Harada
&lt;br&gt;&lt;br&gt;&lt;br&gt;When a script is loaded from classpath, File.dirname(__FILE__) returns the base directory. Because of this behavior, test_dir.rb test_file.rb test_io.rb, and test_load_class_before_rb.rb fail. For example, test_io.rb outputs:
&lt;br&gt;{noformat}
&lt;br&gt;[junit] [test_io.rb]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] Loaded suite -
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] Started
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] test_io.rb:71 warning: syswrite for buffered IO
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] .........F...................
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] Finished in 0.435 seconds.
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] 
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] &amp;nbsp; 1) Failure:
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] test_io_reopen(TestIO) [test_io.rb:450]:
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] &amp;lt;&amp;quot;foo&amp;quot;&amp;gt; expected but was
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] &amp;lt;&amp;quot;Error opening script file: /Users/yoko/DevSpace/jruby~main/./quiet.rb (No such file or directory)&amp;quot;&amp;gt;.
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] 
&lt;br&gt;&amp;nbsp; &amp;nbsp; [junit] 29 tests, 108 assertions, 1 failures, 0 errors
&lt;br&gt;{noformat}
&lt;br&gt;&lt;br&gt;All of those test scripts work well without errors when those are read from absolute path.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JRUBY-4220%29-File.dirname%28__FILE__%29-doesn%27t-return-correct-value-when-a-script-is-loaded-from-classpath-tp26236673p26236673.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26236634</id>
	<title>Re: JRuby startup very slow on Win7</title>
	<published>2009-11-06T10:34:11Z</published>
	<updated>2009-11-06T10:34:11Z</updated>
	<author>
		<name>gin</name>
	</author>
	<content type="html">Cheers for that, Vladimir.
&lt;br&gt;&lt;br&gt;Mate, did you set that RUBYOPT explicitly or was it set by default by
&lt;br&gt;Windows installer?
&lt;br&gt;IMHO, if it causes unexpected delays, should we have it off by
&lt;br&gt;default? Or, have some more direct way to turn it off? For example,
&lt;br&gt;--fast option or a new startup script 'jruby-lite' which would
&lt;br&gt;optimise for one liners and simple scripts.
&lt;br&gt;&lt;br&gt;I guess the other idea for better startup performance: NailGun
&lt;br&gt;(&lt;a href=&quot;http://kenai.com/projects/jruby/pages/JRubyWithNailgun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kenai.com/projects/jruby/pages/JRubyWithNailgun&lt;/a&gt;)
&lt;br&gt;Have only checked with 1.3, but most probably works with 1.4 too:
&lt;br&gt;$jruby --ng-server
&lt;br&gt;Then
&lt;br&gt;$jruby --ng
&lt;br&gt;should be lightning fast.
&lt;br&gt;&lt;br&gt;Also, -that default- JRUBY_HOME setting- caused me some grief on
&lt;br&gt;Windows, when running on Eclipse OSGI (an extra ~15sec delay, fixed by
&lt;br&gt;explicitly setting it).
&lt;br&gt;&lt;br&gt;Good luck,
&lt;br&gt;Gergo
&lt;br&gt;&lt;br&gt;2009/11/6 Rob Heittman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26236634&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rob.heittman@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; That's a huge win.  Awesome tip.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 6, 2009, at 11:56 AM, Vladimir Sizikov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26236634&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vsizikov@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Please double check that you don't have %RUBYOPT% set, and you don't
&lt;br&gt;&amp;gt;&amp;gt; load rubygems by default.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Your fib benchmark shows pretty good numbers for JRuby, compared to MRI.
&lt;br&gt;&amp;gt;&amp;gt; :)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;  --Vladimir
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Fri, Nov 6, 2009 at 5:16 PM, Máté Farkas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26236634&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Is it normal that printing &amp;quot;1&amp;quot; requires more than five second? Sorry my
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; english.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I am new to ruby, currently I use PHP and Perl in Windows, but I don't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; like PHP and Perl is not 100% compatible to Windows (nor Ruby, as I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; see). I have found JRuby which claimed itself fully cross-platform. I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; tried it, but it starts very-very slow. I have AMD 64 3000+, 1 Gb DDR,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Windows7, Java 6u17.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JRuby-startup-very-slow-on-Win7-tp26234611p26236634.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26236164</id>
	<title>Re: JRuby startup very slow on Win7</title>
	<published>2009-11-06T10:06:04Z</published>
	<updated>2009-11-06T10:06:04Z</updated>
	<author>
		<name>Rob Heittman</name>
	</author>
	<content type="html">That's a huge win. &amp;nbsp;Awesome tip.
&lt;br&gt;&lt;br&gt;On Nov 6, 2009, at 11:56 AM, Vladimir Sizikov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26236164&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vsizikov@...&lt;/a&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Please double check that you don't have %RUBYOPT% set, and you don't
&lt;br&gt;&amp;gt; load rubygems by default.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Your fib benchmark shows pretty good numbers for JRuby, compared to &amp;nbsp;
&lt;br&gt;&amp;gt; MRI. :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;nbsp;--Vladimir
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Fri, Nov 6, 2009 at 5:16 PM, Máté Farkas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26236164&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; w 
&lt;br&gt;&amp;gt; rote:
&lt;br&gt;&amp;gt;&amp;gt; Is it normal that printing &amp;quot;1&amp;quot; requires more than five second? &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Sorry my
&lt;br&gt;&amp;gt;&amp;gt; english.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am new to ruby, currently I use PHP and Perl in Windows, but I &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; don't
&lt;br&gt;&amp;gt;&amp;gt; like PHP and Perl is not 100% compatible to Windows (nor Ruby, as I
&lt;br&gt;&amp;gt;&amp;gt; see). I have found JRuby which claimed itself fully cross-platform. I
&lt;br&gt;&amp;gt;&amp;gt; tried it, but it starts very-very slow. I have AMD 64 3000+, 1 Gb &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; DDR,
&lt;br&gt;&amp;gt;&amp;gt; Windows7, Java 6u17.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JRuby-startup-very-slow-on-Win7-tp26234611p26236164.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26236047</id>
	<title>Re: auto test for maven?</title>
	<published>2009-11-06T09:56:04Z</published>
	<updated>2009-11-06T09:56:04Z</updated>
	<author>
		<name>Steven Parkes</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 6, 2009, at Nov 6,8:55 AM , Nick Sieger wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I actually don't know of any, and when I found autotest in Ruby I
&lt;br&gt;&amp;gt; always wondered why nothing similar had been done for Java. You might
&lt;br&gt;&amp;gt; try using a Ruby library like directory_watcher and just have it
&lt;br&gt;&amp;gt; re-run maven when files change.
&lt;br&gt;&lt;br&gt;There's also the watchr gem. A number of watcher-like gems ... too &amp;nbsp;
&lt;br&gt;many, at least from the perspective of trying to build momentum.
&lt;br&gt;&lt;br&gt;I've been thinking about the same issues re: integration with the &amp;nbsp;
&lt;br&gt;build tools. autotest was kind of a revelation when it came to ease of &amp;nbsp;
&lt;br&gt;testing. But that's just the beginning. What about building HTML from &amp;nbsp;
&lt;br&gt;Haml or CSS from Sass (just a couple of my itches). Or compiling .o's &amp;nbsp;
&lt;br&gt;or .class's. Basically, everything our build tools do, whether they're &amp;nbsp;
&lt;br&gt;maven, or ant, or rake, or make. Why shouldn't those be more event &amp;nbsp;
&lt;br&gt;driven? Coming from autotest, the batch mode feels archaic and annoying.
&lt;br&gt;&lt;br&gt;I suppose the IDEs have mitigated some of these issues, for &amp;nbsp;
&lt;br&gt;environments/users where they're used. But lots of non-IDE things &amp;nbsp;
&lt;br&gt;naturally fit this, too.
&lt;br&gt;&lt;br&gt;But, of course, those build tools aren't structured like that. I find &amp;nbsp;
&lt;br&gt;it a very interesting idea.
&lt;br&gt;&lt;br&gt;In my own experiments, when you do start down this path, things get a &amp;nbsp;
&lt;br&gt;little tricky, quickly, with regard to dependences. Even autotest &amp;nbsp;
&lt;br&gt;doesn't do a particularly good job at this. The problem isn't &amp;nbsp;
&lt;br&gt;implementing dependences, but discovering them. gcc was great with, -M &amp;nbsp;
&lt;br&gt;was it? And I had a whole environment that used jikes just for -M. But &amp;nbsp;
&lt;br&gt;it seems like the cases where dependences are detected and &amp;nbsp;
&lt;br&gt;externalized are the very rare exception. Hierarchical/multiple-pass &amp;nbsp;
&lt;br&gt;makes are equally ubiquitous and evil.
&lt;br&gt;&lt;br&gt;Ah, well, enough of my soap-box. Sorry.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/auto-test-for-maven--tp26234973p26236047.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26235983</id>
	<title>Re: JRuby startup very slow on Win7</title>
	<published>2009-11-06T09:52:26Z</published>
	<updated>2009-11-06T09:52:26Z</updated>
	<author>
		<name>Roger Pack-5</name>
	</author>
	<content type="html">Vladimir Sizikov wrote:
&lt;br&gt;&amp;gt; Please double check that you don't have %RUBYOPT% set, and you don't
&lt;br&gt;&amp;gt; load rubygems by default.
&lt;br&gt;Dear Vladimir!
&lt;br&gt;&lt;br&gt;Thanks, I deleted this value and it's startup is 1.8 sec now.
&lt;br&gt;I didn't checked anything, just installed it and I did would like to try 
&lt;br&gt;(and learn) Ruby, but I became terrified. (Sorry my english)
&lt;br&gt;&lt;br&gt;Thank you for your help again!
&lt;br&gt;&lt;br&gt;Best Wishes,
&lt;br&gt;Máté (from Hungary)
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JRuby-startup-very-slow-on-Win7-tp26234611p26235983.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26235629</id>
	<title>Re: Where was fileutils gone?</title>
	<published>2009-11-06T09:27:16Z</published>
	<updated>2009-11-06T09:27:16Z</updated>
	<author>
		<name>Yoko Harada</name>
	</author>
	<content type="html">On Fri, Nov 6, 2009 at 10:25 AM, Hirotsugu Asari &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26235629&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asari.ruby@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; If you keep up with trunk, often build artifacts get in the way over time.
&lt;br&gt;&amp;gt; Try 'ant clean jar', which I find effective in such a case.
&lt;br&gt;&lt;br&gt;Thank you. You're right. After I did &amp;quot;ant clean,&amp;quot; all tests passed.
&lt;br&gt;&lt;br&gt;-Yoko
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Hiro
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 6, 2009, at 8:31 AM, Yoko Harada &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26235629&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yokolet@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Today, many embed test failed because of the error:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   /Users/yoko/DevSpace/jruby~main/lib/ruby/1.8/tmpdir.rb:7:in
&lt;br&gt;&amp;gt;&amp;gt; `require': IO error -- fileutils (LoadError)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This happned on rev a0decb3. The tests passed successfully on rev
&lt;br&gt;&amp;gt;&amp;gt; 481fa4d, so a change after that causes this error.
&lt;br&gt;&amp;gt;&amp;gt; Where was fileutils gone?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Yoko
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---Dev-f14108.html&quot; embed=&quot;fixTarget[14108]&quot; target=&quot;_top&quot; &gt;JRuby - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-was-fileutils-gone--tp26232920p26235629.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26235227</id>
	<title>Re: JRuby startup very slow on Win7</title>
	<published>2009-11-06T08:56:17Z</published>
	<updated>2009-11-06T08:56:17Z</updated>
	<author>
		<name>Vladimir Sizikov-2</name>
	</author>
	<content type="html">Hi &amp;nbsp;Máté,
&lt;br&gt;&lt;br&gt;Your results are very atypical. I also run JRuby every day on Windows
&lt;br&gt;7, and JRuby's startup is around 0.5 sec for me, which is not that bad
&lt;br&gt;for JVM-based language.
&lt;br&gt;&lt;br&gt;Please double check that you don't have %RUBYOPT% set, and you don't
&lt;br&gt;load rubygems by default.
&lt;br&gt;&lt;br&gt;Your fib benchmark shows pretty good numbers for JRuby, compared to MRI. :)
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; --Vladimir
&lt;br&gt;&lt;br&gt;On Fri, Nov 6, 2009 at 5:16 PM, Máté Farkas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26235227&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Is it normal that printing &amp;quot;1&amp;quot; requires more than five second? Sorry my
&lt;br&gt;&amp;gt; english.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am new to ruby, currently I use PHP and Perl in Windows, but I don't
&lt;br&gt;&amp;gt; like PHP and Perl is not 100% compatible to Windows (nor Ruby, as I
&lt;br&gt;&amp;gt; see). I have found JRuby which claimed itself fully cross-platform. I
&lt;br&gt;&amp;gt; tried it, but it starts very-very slow. I have AMD 64 3000+, 1 Gb DDR,
&lt;br&gt;&amp;gt; Windows7, Java 6u17.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JRuby---User-f14107.html&quot; embed=&quot;fixTarget[14107]&quot; target=&quot;_top&quot; &gt;JRuby - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JRuby-startup-very-slow-on-Win7-tp26234611p26235227.html" />
</entry>

</feed>
