<?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-27T00:02:34Z</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-26539011</id>
	<title>Re: jRuby program exiting abruptly</title>
	<published>2009-11-27T00:02:34Z</published>
	<updated>2009-11-27T00:02:34Z</updated>
	<author>
		<name>Vladimir Sizikov-2</name>
	</author>
	<content type="html">Hi Manish,
&lt;br&gt;&lt;br&gt;Try to run jruby with -d command line switch and see whether you have
&lt;br&gt;the exceptions.
&lt;br&gt;&lt;br&gt;Also, some minimal examples would help out here, without them it is
&lt;br&gt;hard to say what's going on.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; --Vladimir
&lt;br&gt;&lt;br&gt;P.S. Btw, it is JRuby, not jRuby. ;)
&lt;br&gt;&lt;br&gt;On Fri, Nov 27, 2009 at 5:08 AM, Manish Sapariya &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539011&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manish@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; I am writing a RTMP client using red5 java apis.
&lt;br&gt;&amp;gt; What I observe is that after some time by jruby
&lt;br&gt;&amp;gt; client exits abruptly, none the exit paths that
&lt;br&gt;&amp;gt; I know of gets executed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The reason for this exit is that I do not send
&lt;br&gt;&amp;gt; Pong response to the red5 server to any of its
&lt;br&gt;&amp;gt; ping request.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was expecting some kind of exception, but I
&lt;br&gt;&amp;gt; do not get any.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using jRuby 1.4.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How can I enable all the java exceptions that
&lt;br&gt;&amp;gt; are thrown by the java apis and are handled by
&lt;br&gt;&amp;gt; jRuby and suppressed?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks and Regards,
&lt;br&gt;&amp;gt; Manish
&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-program-exiting-abruptly-tp26537748p26539011.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26537748</id>
	<title>jRuby program exiting abruptly</title>
	<published>2009-11-26T20:08:03Z</published>
	<updated>2009-11-26T20:08:03Z</updated>
	<author>
		<name>Manish Sapariya-3</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;I am writing a RTMP client using red5 java apis.
&lt;br&gt;What I observe is that after some time by jruby
&lt;br&gt;client exits abruptly, none the exit paths that
&lt;br&gt;I know of gets executed.
&lt;br&gt;&lt;br&gt;The reason for this exit is that I do not send
&lt;br&gt;Pong response to the red5 server to any of its
&lt;br&gt;ping request.
&lt;br&gt;&lt;br&gt;I was expecting some kind of exception, but I
&lt;br&gt;do not get any.
&lt;br&gt;&lt;br&gt;I am using jRuby 1.4.
&lt;br&gt;&lt;br&gt;How can I enable all the java exceptions that
&lt;br&gt;are thrown by the java apis and are handled by
&lt;br&gt;jRuby and suppressed?
&lt;br&gt;&lt;br&gt;Thanks and Regards,
&lt;br&gt;Manish
&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-program-exiting-abruptly-tp26537748p26537748.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534652</id>
	<title>[jira] Created: (JRUBY-4278) Result of 'FOO ||= 2' differs from Ruby MRI</title>
	<published>2009-11-26T12:39:55Z</published>
	<updated>2009-11-26T12:39:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Result of 'FOO ||= 2' differs from Ruby MRI
&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-4278
&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-4278&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4278&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; Affects Versions: JRuby 1.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Gioele Barabucci
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Thomas E Enebo
&lt;br&gt;&lt;br&gt;&lt;br&gt;This script 
&lt;br&gt;&lt;br&gt;&amp;nbsp; #!/usr/bin/ruby -w
&lt;br&gt;&amp;nbsp; FOO = 1
&lt;br&gt;&amp;nbsp; FOO ||= 2
&lt;br&gt;&amp;nbsp; puts &amp;quot;FOO = #{FOO}&amp;quot;
&lt;br&gt;&lt;br&gt;shows &amp;quot;FOO = 1&amp;quot; in MRI (1.8) and &amp;quot;FOO = 2&amp;quot; in JRuby 1.4.
&lt;br&gt;&lt;br&gt;Additionally, JRuby emits this warning: &amp;quot;warning: already initialized constant FOO&amp;quot;.
&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-4278%29-Result-of-%27FOO-%7C%7C%3D-2%27-differs-from-Ruby-MRI-tp26534652p26534652.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531641</id>
	<title>Re: Glassfish.gem and Warble?</title>
	<published>2009-11-26T08:14:23Z</published>
	<updated>2009-11-26T08:14:23Z</updated>
	<author>
		<name>Jay McGaffigan-2</name>
	</author>
	<content type="html">currently we use a 2 step process:
&lt;br&gt;&lt;br&gt;We war up our application and then move it to the production machine
&lt;br&gt;and use the asadmin command to deploy it.
&lt;br&gt;&lt;br&gt;Sounds like you are trying to something similar?
&lt;br&gt;&lt;br&gt;Jay
&lt;br&gt;&lt;br&gt;On Wed, Nov 25, 2009 at 4:17 PM, Frederic Jean &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531641&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fred@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ken at Inbox256 wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nick, I don't believe that what you are saying I can just put the war in a
&lt;br&gt;&amp;gt; directory and jruby -S glassfish would know to unpack it (since I tried and
&lt;br&gt;&amp;gt; that doesn't work!).  I think youre saying just recopy my entire application
&lt;br&gt;&amp;gt; directory to my production machine.  But isn't war'ing an application
&lt;br&gt;&amp;gt; directory for easier deployment meant to solve such a thing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes, that is what Nick is saying. The glassfish gem doesn't understand war
&lt;br&gt;&amp;gt; files.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You can use the Glassfish server, Tomcat or any other servlet container if
&lt;br&gt;&amp;gt; you choose to package and deploy your app using war files. We use glassfish
&lt;br&gt;&amp;gt; v2u1 to run kenai.com and netbeans.org for example.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Fred
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 3:44 PM, Nick Sieger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531641&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicksieger@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Wed, Nov 25, 2009 at 2:17 PM, Ken at Inbox256 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531641&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;inbox256@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I'm starting to consider my app deployment.  Currently, I'm just running
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; sinatra app from my source tree, but I'd like to package things up so I
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; can
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; deploy to a production server easily.  I see that warble packs up things
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; offers configuration options, but how do I deploy to a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; jruby+glassfish.GEM
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; deployment?  There is no asadmin using the gem, for example.  Can
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; someone
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; point me in the right direction?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You should be able to just run &amp;quot;jruby -S glassfish&amp;quot; in the current
&lt;br&gt;&amp;gt;&amp;gt; directory where application lives. Warbler and the Glassfish gem don't
&lt;br&gt;&amp;gt;&amp;gt; overlap at all in that respect.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; /Nick
&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;
&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/Glassfish.gem-and-Warble--tp26519622p26531641.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26524380</id>
	<title>[jira] Created: (JRUBY-4277) Hash#each_pair behavior with concurrent modification is inconsistent with 1.8.7p174</title>
	<published>2009-11-25T20:59:55Z</published>
	<updated>2009-11-25T20:59:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Hash#each_pair behavior with concurrent modification is inconsistent with 1.8.7p174
&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-4277
&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-4277&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4277&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.8.7
&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: MRI 1.8.7p174 (compiled by hand on Ubuntu)
&lt;br&gt;MRI 1.8.6p287 (system package on OS X 10.5)
&lt;br&gt;JRuby 1.4.0 (from macports on OS X 10.5)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Rhett Sutphin
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hash#each_pair behaves differently when you add new keys to the hash during iteration on JRuby 1.4.0 and MRI 1.8.7p174. &amp;nbsp;This gist contains a short script which illustrates the different behaviors:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://gist.github.com/243048&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/243048&lt;/a&gt;&lt;br&gt;&lt;br&gt;JRuby 1.4.0's behavior is the same as Ruby 1.9.0, not 1.8.7.
&lt;br&gt;&lt;br&gt;I don't know how important this difference is -- the 1.8 line's behavior is inconsistent (it seems to be dependent on the iteration order of the pairs), so it would be tricky to be deliberately depending on it. &amp;nbsp;On the other hand, we did &amp;nbsp;run into it in production code: a colleague of mine noticed the problem when executing a method which recursively converted all the keys in a hash to symbols (in place). &amp;nbsp;On MRI 1.8.x, this method would complete, but not on JRuby 1.4.0. &amp;nbsp;(It was trivial to convert this method to a form that would work in both places.)
&lt;br&gt;&lt;br&gt;I attempted to write a RubySpec for this, but since the 1.8 behavior doesn't seem deliberately designed, I wasn't sure how to go about it. &amp;nbsp;I will update this ticket if I make any progress.
&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-4277%29-Hash-each_pair-behavior-with-concurrent-modification-is-inconsistent-with-1.8.7p174-tp26524380p26524380.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26524063</id>
	<title>[jira] Created: (JRUBY-4276) Set org.jruby.runtime.load.LoadService.DEBUG_LOAD_TIMINGS at run time</title>
	<published>2009-11-25T19:59:55Z</published>
	<updated>2009-11-25T19:59:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Set org.jruby.runtime.load.LoadService.DEBUG_LOAD_TIMINGS at run time
&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-4276
&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-4276&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4276&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: Improvement
&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.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: github trunk, Java 6, Mac OS X 10.6.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Hiro Asari
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: 0001-Set-org.jruby.runtime.load.LoadService.DEBUG_LOAD_TI.patch
&lt;br&gt;&lt;br&gt;As the existing comment suggests, this can be a run time option. Is there a good reason that it isn't?
&lt;br&gt;&lt;br&gt;The attached patch adds a new property {{jruby.debug.loadService.timing}} to set {{org.jruby.runtime.load.LoadService.DEBUG_LOAD_TIMINGS}} at run time.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://gist.github.com/242782&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/242782&lt;/a&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-4276%29-Set-org.jruby.runtime.load.LoadService.DEBUG_LOAD_TIMINGS-at-run-time-tp26524063p26524063.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26522110</id>
	<title>Re: Howto replace custom_require functionality</title>
	<published>2009-11-25T15:24:35Z</published>
	<updated>2009-11-25T15:24:35Z</updated>
	<author>
		<name>Paul F Fraser</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Chad Woolley wrote:
&lt;blockquote cite=&quot;mid:e3af97510911250747r162133e7o93c09c38bbcaea2a@mail.gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;On Tue, Nov 24, 2009 at 10:18 PM, Paul F Fraser &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26522110&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paulf@...&lt;/a&gt; wrote:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;b) IF it is possible to override (monkey patch) &amp;nbsp;custom require, how would
it &amp;nbsp;need to be done? &amp;nbsp;I have tried monkey patching the kernel but my attempt
did not work.
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
I had to do this once in order to run functional tests against
rubygems itself.  Here's how:

&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://github.com/thewoolleyman/geminstaller/blob/ec3c08fd9935e94dc96177923ca87b6d8a3105ce/spec/helper/test_gem_home.rb#L108&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/thewoolleyman/geminstaller/blob/ec3c08fd9935e94dc96177923ca87b6d8a3105ce/spec/helper/test_gem_home.rb#L108&lt;/a&gt;

      # point &quot;require&quot; back at the standard Ruby &quot;require&quot; method
      # if RubyGems has already aliased gem_original_require to the
original require...
      if Kernel.private_method_defined?(:gem_original_require)
        # get an unbound method reference to the original require method
        unbound_gem_original_require = Kernel.send(:instance_method,
:gem_original_require)
        # then remove the overridden RubyGems require
        Kernel.send(:remove_method, :require)
        # and define require to invoke the original require method
        Kernel.send(:define_method, :require) {|path|
unbound_gem_original_require.bind(Kernel).call(path) }
      end&lt;/pre&gt;
&lt;/blockquote&gt;
Thanks, Chad,&lt;br&gt;
Some very clever code :-) . Don't think I would have figured it out....&lt;br&gt;
Regards&lt;br&gt;
Paul&lt;br&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&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/Howto-replace-custom_require-functionality-tp26507685p26522110.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520437</id>
	<title>Re: Glassfish.gem and Warble?</title>
	<published>2009-11-25T13:17:17Z</published>
	<updated>2009-11-25T13:17:17Z</updated>
	<author>
		<name>Frederic Jean-3</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html; charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Ken at Inbox256 wrote:
&lt;blockquote cite=&quot;mid:c7968bbe0911251253o170a50ciaba66a2cb775dd5c@mail.gmail.com&quot; type=&quot;cite&quot;&gt;Nick, I don't believe that what you are saying I can just
put the war in a directory and jruby -S glassfish would know to unpack
it (since I tried and that doesn't work!).&amp;nbsp; I think youre saying just
recopy my entire application directory to my production machine.&amp;nbsp; But
isn't war'ing an application directory for easier deployment meant to
solve such a thing?&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
Yes, that is what Nick is saying. The glassfish gem doesn't understand
war files.&lt;br&gt;
&lt;br&gt;
You can use the Glassfish server, Tomcat or any other servlet container
if you choose to package and deploy your app using war files. We use
glassfish v2u1 to run kenai.com and netbeans.org for example.&lt;br&gt;
&lt;br&gt;
Fred&lt;br&gt;
&lt;br&gt;
&lt;blockquote cite=&quot;mid:c7968bbe0911251253o170a50ciaba66a2cb775dd5c@mail.gmail.com&quot; type=&quot;cite&quot;&gt;&lt;br&gt;
  &lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 3:44 PM, Nick Sieger
  &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520437&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicksieger@...&lt;/a&gt;&amp;gt;&lt;/span&gt;
wrote:&lt;br&gt;
  &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;On
Wed, Nov 25, 2009 at 2:17 PM, Ken at Inbox256 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520437&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;inbox256@...&lt;/a&gt;&amp;gt;
wrote:&lt;br&gt;
&amp;gt; I'm starting to consider my app deployment.&amp;nbsp; Currently, I'm just
running a&lt;br&gt;
&amp;gt; sinatra app from my source tree, but I'd like to package things up
so I can&lt;br&gt;
&amp;gt; deploy to a production server easily.&amp;nbsp; I see that warble packs up
things and&lt;br&gt;
&amp;gt; offers configuration options, but how do I deploy to a
jruby+glassfish.GEM&lt;br&gt;
&amp;gt; deployment?&amp;nbsp; There is no asadmin using the gem, for example.&amp;nbsp; Can
someone&lt;br&gt;
&amp;gt; point me in the right direction?&lt;br&gt;
    &lt;br&gt;
You should be able to just run &quot;jruby -S glassfish&quot; in the current&lt;br&gt;
directory where application lives. Warbler and the Glassfish gem don't&lt;br&gt;
overlap at all in that respect.&lt;br&gt;
    &lt;br&gt;
/Nick&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 moz-do-not-send=&quot;true&quot; href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/blockquote&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&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/Glassfish.gem-and-Warble--tp26519622p26520437.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520127</id>
	<title>Re: Glassfish.gem and Warble?</title>
	<published>2009-11-25T12:53:26Z</published>
	<updated>2009-11-25T12:53:26Z</updated>
	<author>
		<name>Ken at Inbox256</name>
	</author>
	<content type="html">Nick, I don&amp;#39;t believe that what you are saying I can just put the war in a directory and jruby -S glassfish would know to unpack it (since I tried and that doesn&amp;#39;t work!).  I think youre saying just recopy my entire application directory to my production machine.  But isn&amp;#39;t war&amp;#39;ing an application directory for easier deployment meant to solve such a thing?&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 3:44 PM, Nick Sieger &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520127&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicksieger@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
On Wed, Nov 25, 2009 at 2:17 PM, Ken at Inbox256 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520127&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;inbox256@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; I&amp;#39;m starting to consider my app deployment.  Currently, I&amp;#39;m just running a&lt;br&gt;
&amp;gt; sinatra app from my source tree, but I&amp;#39;d like to package things up so I can&lt;br&gt;
&amp;gt; deploy to a production server easily.  I see that warble packs up things and&lt;br&gt;
&amp;gt; offers configuration options, but how do I deploy to a jruby+glassfish.GEM&lt;br&gt;
&amp;gt; deployment?  There is no asadmin using the gem, for example.  Can someone&lt;br&gt;
&amp;gt; point me in the right direction?&lt;br&gt;
&lt;br&gt;
You should be able to just run &amp;quot;jruby -S glassfish&amp;quot; in the current&lt;br&gt;
directory where application lives. Warbler and the Glassfish gem don&amp;#39;t&lt;br&gt;
overlap at all in that respect.&lt;br&gt;
&lt;br&gt;
/Nick&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&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;/blockquote&gt;&lt;/div&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/Glassfish.gem-and-Warble--tp26519622p26520127.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519980</id>
	<title>Re: Glassfish.gem and Warble?</title>
	<published>2009-11-25T12:44:24Z</published>
	<updated>2009-11-25T12:44:24Z</updated>
	<author>
		<name>Nick Sieger-2</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 2:17 PM, Ken at Inbox256 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519980&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;inbox256@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I'm starting to consider my app deployment.  Currently, I'm just running a
&lt;br&gt;&amp;gt; sinatra app from my source tree, but I'd like to package things up so I can
&lt;br&gt;&amp;gt; deploy to a production server easily.  I see that warble packs up things and
&lt;br&gt;&amp;gt; offers configuration options, but how do I deploy to a jruby+glassfish.GEM
&lt;br&gt;&amp;gt; deployment?  There is no asadmin using the gem, for example.  Can someone
&lt;br&gt;&amp;gt; point me in the right direction?
&lt;br&gt;&lt;br&gt;You should be able to just run &amp;quot;jruby -S glassfish&amp;quot; in the current
&lt;br&gt;directory where application lives. Warbler and the Glassfish gem don't
&lt;br&gt;overlap at all in that respect.
&lt;br&gt;&lt;br&gt;/Nick
&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/Glassfish.gem-and-Warble--tp26519622p26519980.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519836</id>
	<title>Re: Suggested containers for high volume rails apps</title>
	<published>2009-11-25T12:33:39Z</published>
	<updated>2009-11-25T12:33:39Z</updated>
	<author>
		<name>Frederic Jean-3</name>
	</author>
	<content type="html">snacktime wrote:
&lt;br&gt;&amp;gt; We used jruby for the first time with red5, a flash server, and have 
&lt;br&gt;&amp;gt; been impressed by it's performance. &amp;nbsp;We are also tired of the 
&lt;br&gt;&amp;gt; management nightmare that is mongrel. &amp;nbsp;I'm interested in feedback from 
&lt;br&gt;&amp;gt; others on what setup works well for high volume rails apps. &amp;nbsp;We are 
&lt;br&gt;&amp;gt; currently have about 10 quad core servers for our rails servers, 
&lt;br&gt;&amp;gt; running up to 30 or so mongrels per server managed by monit. &amp;nbsp; In 
&lt;br&gt;&amp;gt; particular I'm interested in containers people have had good luck with.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Chris
&lt;br&gt;We use Glassfish v2 update 1 for &lt;a href=&quot;http://kenai.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kenai.com&lt;/a&gt;&amp;nbsp;and 
&lt;br&gt;&lt;a href=&quot;http://netbeans.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://netbeans.org&lt;/a&gt;. We still use warbler to package our web app into a 
&lt;br&gt;war file. We have configured each of our domains to run 5 JRuby 
&lt;br&gt;runtimes. You may be able to use Rails in thread safe mode instead of 
&lt;br&gt;creating mutliple JRuby runtimes as an option.
&lt;br&gt;&lt;br&gt;Fred
&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/Suggested-containers-for-high-volume-rails-apps-tp26518569p26519836.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519622</id>
	<title>Glassfish.gem and Warble?</title>
	<published>2009-11-25T12:17:59Z</published>
	<updated>2009-11-25T12:17:59Z</updated>
	<author>
		<name>Ken at Inbox256</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;I&amp;#39;m starting to consider my app deployment.  Currently, I&amp;#39;m just running a sinatra app from my source tree, but I&amp;#39;d like to package things up so I can deploy to a production server easily.  I see that warble packs up things and offers configuration options, but how do I deploy to a jruby+glassfish.GEM deployment?  There is no asadmin using the gem, for example.  Can someone point me in the right direction?&lt;br&gt;

&lt;br&gt;Regards,&lt;br&gt;KenD&lt;br&gt;
&lt;/div&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/Glassfish.gem-and-Warble--tp26519622p26519622.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518569</id>
	<title>Suggested containers for high volume rails apps</title>
	<published>2009-11-25T11:11:18Z</published>
	<updated>2009-11-25T11:11:18Z</updated>
	<author>
		<name>snacktime</name>
	</author>
	<content type="html">We used jruby for the first time with red5, a flash server, and have been impressed by it&amp;#39;s performance.  We are also tired of the management nightmare that is mongrel.  I&amp;#39;m interested in feedback from others on what setup works well for high volume rails apps.  We are currently have about 10 quad core servers for our rails servers, running up to 30 or so mongrels per server managed by monit.   In particular I&amp;#39;m interested in containers people have had good luck with. &lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;Chris&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/Suggested-containers-for-high-volume-rails-apps-tp26518569p26518569.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26517258</id>
	<title>Re: &quot;state of the art&quot; in rails, and jruby?</title>
	<published>2009-11-25T09:46:14Z</published>
	<updated>2009-11-25T09:46:14Z</updated>
	<author>
		<name>Nick Sieger-2</name>
	</author>
	<content type="html">On Sun, Nov 22, 2009 at 10:44 AM, Michael Campbell
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517258&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.campbell@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have a commercial website for my wife's business that's written using Java
&lt;br&gt;&amp;gt; (jsps + servlet, WebWork, Ibatis).   I have wanted to redo it in rails for
&lt;br&gt;&amp;gt; some time now (3 years!), but time has conspired against me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I should be able to do this, I'd like to stick with my current hosting
&lt;br&gt;&amp;gt; provider as they're inexpensive, good service, and local.  They are,
&lt;br&gt;&amp;gt; however, a Tomcat shop.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I could of course do this in jruby/rails, which is my current thought, but
&lt;br&gt;&amp;gt; am a little nervous with the flux in the rails world with respect to the
&lt;br&gt;&amp;gt; upcoming merb &amp;quot;merge&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My question boils down to, what are the jruby's team's thoughts or plans on
&lt;br&gt;&amp;gt; keeping up with all this?  Is &amp;quot;running rails&amp;quot; a high priority inasmuch as
&lt;br&gt;&amp;gt; when Rails starts making some big changes (and to be fair, this might
&lt;br&gt;&amp;gt; already be happening; I haven't paid a WHOLE lot of attention after the
&lt;br&gt;&amp;gt; announcement)?  Or is jruby to the point now where Rails changes can't
&lt;br&gt;&amp;gt; really break it?
&lt;/div&gt;&lt;br&gt;Hi Michael,
&lt;br&gt;&lt;br&gt;I just gave a presentation on JRuby on Rails at JRubyConf last Sunday,
&lt;br&gt;and I'd like to assure you that keeping Rails running well on JRuby is
&lt;br&gt;indeed a high priority. The Rails and JRuby teams will be working
&lt;br&gt;together to ensure that Rails 3 will be the best release yet for
&lt;br&gt;deploying Rails apps to Java platforms with JRuby. I should have a
&lt;br&gt;blog post up soon to recap what I presented, and the presentations
&lt;br&gt;were recorded too.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;/Nick
&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/%22state-of-the-art%22-in-rails%2C-and-jruby--tp26466901p26517258.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26515194</id>
	<title>Re: &quot;state of the art&quot; in rails, and jruby?</title>
	<published>2009-11-25T07:54:41Z</published>
	<updated>2009-11-25T07:54:41Z</updated>
	<author>
		<name>jason franklin-stokes</name>
	</author>
	<content type="html">jruby on rails with the glassfish v3 and warble war with capistrano deployment is the way to go - then you get the full mutlithreaded support you need without the overhead - and a pretty fast depoyment cycle. (increase the database.yml pool size to adapt for the number of threads working at the same time - forget jdbc connection pools unless you have several application wanting to use the same database). 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;On Nov 25, 2009, at 2:53 PM, Paweł Wielgus wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; last weekend i've switched my website from MRI to JRuby (1.4) in production,
&lt;br&gt;&amp;gt; right now i'm using jruby script/server but i'm thinking about
&lt;br&gt;&amp;gt; glasfish gem as the final solution.
&lt;br&gt;&amp;gt; Also for more than a year i've been running this rails app on JRuby
&lt;br&gt;&amp;gt; for tests and development (speed).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Initial problem i've had, was not enough memory set by default.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also there is a bug in rails 1.2.6 (chars method),
&lt;br&gt;&amp;gt; which i hit after switching,
&lt;br&gt;&amp;gt; but that's just another story and easy to cope with.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Besides the initial problems,
&lt;br&gt;&amp;gt; my site runs pretty fast and smoth ;-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best greetings,
&lt;br&gt;&amp;gt; Paweł Wielgus.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009/11/23 Hassan Schroeder &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26515194&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hassan.schroeder@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; On Sun, Nov 22, 2009 at 8:44 AM, Michael Campbell
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26515194&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.campbell@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have a commercial website for my wife's business that's written using Java
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (jsps + servlet, WebWork, Ibatis). &amp;nbsp; I have wanted to redo it in rails for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; some time now (3 years!), but time has conspired against me.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Funny, I'm in almost exactly that same situation :-)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; My question boils down to, what are the jruby's team's thoughts or plans on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; keeping up with all this? &amp;nbsp;Is &amp;quot;running rails&amp;quot; a high priority
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Not speaking for anyone but myself, but having just spent most of
&lt;br&gt;&amp;gt;&amp;gt; today at JRubyConf SF (and thanks to EngineYard and the rest of
&lt;br&gt;&amp;gt;&amp;gt; the sponsors for a job well done!) -- I'd say yes, Rails running on
&lt;br&gt;&amp;gt;&amp;gt; JRuby is a priority.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; That's not to say that it's exactly like running MRI; you have to be
&lt;br&gt;&amp;gt;&amp;gt; aware of gems with native extensions, etc. but there's no reason I
&lt;br&gt;&amp;gt;&amp;gt; can see for you to hesitate to &amp;nbsp;jump on board.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; HTH,
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Hassan Schroeder ------------------------ &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26515194&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hassan.schroeder@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; twitter: @hassan
&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; &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;&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; &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;---------------------------------------------------------------------
&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/%22state-of-the-art%22-in-rails%2C-and-jruby--tp26466901p26515194.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26515070</id>
	<title>Re: Howto replace custom_require functionality</title>
	<published>2009-11-25T07:47:50Z</published>
	<updated>2009-11-25T07:47:50Z</updated>
	<author>
		<name>Chad Woolley</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 10:18 PM, Paul F Fraser &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26515070&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paulf@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; b) IF it is possible to override (monkey patch)  custom require, how would
&lt;br&gt;&amp;gt; it  need to be done?  I have tried monkey patching the kernel but my attempt
&lt;br&gt;&amp;gt; did not work.
&lt;br&gt;&lt;br&gt;I had to do this once in order to run functional tests against
&lt;br&gt;rubygems itself. &amp;nbsp;Here's how:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/thewoolleyman/geminstaller/blob/ec3c08fd9935e94dc96177923ca87b6d8a3105ce/spec/helper/test_gem_home.rb#L108&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/thewoolleyman/geminstaller/blob/ec3c08fd9935e94dc96177923ca87b6d8a3105ce/spec/helper/test_gem_home.rb#L108&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; # point &amp;quot;require&amp;quot; back at the standard Ruby &amp;quot;require&amp;quot; method
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; # if RubyGems has already aliased gem_original_require to the
&lt;br&gt;original require...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if Kernel.private_method_defined?(:gem_original_require)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # get an unbound method reference to the original require method
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unbound_gem_original_require = Kernel.send(:instance_method,
&lt;br&gt;:gem_original_require)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # then remove the overridden RubyGems require
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Kernel.send(:remove_method, :require)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # and define require to invoke the original require method
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Kernel.send(:define_method, :require) {|path|
&lt;br&gt;unbound_gem_original_require.bind(Kernel).call(path) }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end
&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/Howto-replace-custom_require-functionality-tp26507685p26515070.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26515029</id>
	<title>Re: &quot;state of the art&quot; in rails, and jruby?</title>
	<published>2009-11-25T07:45:38Z</published>
	<updated>2009-11-25T07:45:38Z</updated>
	<author>
		<name>Vladimir Sizikov-2</name>
	</author>
	<content type="html">Hi Paweł,
&lt;br&gt;&lt;br&gt;2009/11/25 Paweł Wielgus &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26515029&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;poulwiel@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Also for more than a year i've been running this rails app on JRuby
&lt;br&gt;&amp;gt; for tests and development (speed).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Initial problem i've had, was not enough memory set by default.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Also there is a bug in rails 1.2.6 (chars method),
&lt;br&gt;&amp;gt; which i hit after switching,
&lt;br&gt;&amp;gt; but that's just another story and easy to cope with.
&lt;br&gt;&lt;br&gt;Yeah, and this is caused by MRI 1.8.7 new behavior/API (and JRuby's
&lt;br&gt;following it as well).
&lt;br&gt;&lt;br&gt;&amp;gt; Besides the initial problems,
&lt;br&gt;&amp;gt; my site runs pretty fast and smoth ;-)
&lt;br&gt;&lt;br&gt;Thanks for sharing!
&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/%22state-of-the-art%22-in-rails%2C-and-jruby--tp26466901p26515029.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26514673</id>
	<title>Re: Reified classes referring to one another</title>
	<published>2009-11-25T07:24:16Z</published>
	<updated>2009-11-25T07:24:16Z</updated>
	<author>
		<name>Chris Nelson-2</name>
	</author>
	<content type="html">The first problem is not the annotation, it&amp;#39;s the method signature.  I need to call add_method_signature for a method whose return type is a class that has not yet been reified.  &lt;br&gt;&lt;br&gt;--Chris&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Tue, Nov 24, 2009 at 4:15 PM, Nick Sieger &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514673&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicksieger@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;On Tue, Nov 24, 2009 at 10:37 AM, Chris Nelson&lt;br&gt;
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514673&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;me@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; Charles, Tom, et all,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Was discussing this in IRC just now and thought I&amp;#39;d ask it here too.  I&amp;#39;m&lt;br&gt;
&amp;gt; about to start in on adding relationship support to jruby-hibernate and ran&lt;br&gt;
&amp;gt; into the following conundrum.  Let&amp;#39;s say I have 2 classes, Event and Log,&lt;br&gt;
&amp;gt; and Event has a many-to-one bi-directional relationship with Log.  In order&lt;br&gt;
&amp;gt; to model this from Hibernate perspective, Event needs a Log property&lt;br&gt;
&amp;gt; annotated with @ManyToOne and and Log needs a collection of Events annotated&lt;br&gt;
&amp;gt; with a @OneToMany annotation that has a targetEntity of the Event java&lt;br&gt;
&amp;gt; class.  The problem seems to be that both will need the java class of the&lt;br&gt;
&amp;gt; other, so whichever one I call become_java! on first won&amp;#39;t work.  This seems&lt;br&gt;
&amp;gt; to be a problem, but I haven&amp;#39;t written any code yet to verify it.  Can&lt;br&gt;
&amp;gt; anyone shed any light on whether this is going to work?&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;The actual annotations don&amp;#39;t need a reference to a class, but perhaps&lt;br&gt;
we need to open up a way to refer to a class in an annotation even&lt;br&gt;
though the actual class is not defined yet. Ideas on how we could do&lt;br&gt;
that? Maybe a way to pre-tag a Ruby class with its fully-qualified&lt;br&gt;
java class name and pass a Ruby class in? We could then use that name&lt;br&gt;
when reifying the class, so that we don&amp;#39;t have to dump everything in&lt;br&gt;
the &amp;quot;ruby.*&amp;quot; package.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
/Nick&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&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;/div&gt;&lt;/div&gt;&lt;/blockquote&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/Reified-classes-referring-to-one-another-tp26499190p26514673.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513009</id>
	<title>Re: &quot;state of the art&quot; in rails, and jruby?</title>
	<published>2009-11-25T05:53:19Z</published>
	<updated>2009-11-25T05:53:19Z</updated>
	<author>
		<name>Paweł Wielgus</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;last weekend i've switched my website from MRI to JRuby (1.4) in production,
&lt;br&gt;right now i'm using jruby script/server but i'm thinking about
&lt;br&gt;glasfish gem as the final solution.
&lt;br&gt;Also for more than a year i've been running this rails app on JRuby
&lt;br&gt;for tests and development (speed).
&lt;br&gt;&lt;br&gt;Initial problem i've had, was not enough memory set by default.
&lt;br&gt;&lt;br&gt;Also there is a bug in rails 1.2.6 (chars method),
&lt;br&gt;which i hit after switching,
&lt;br&gt;but that's just another story and easy to cope with.
&lt;br&gt;&lt;br&gt;Besides the initial problems,
&lt;br&gt;my site runs pretty fast and smoth ;-)
&lt;br&gt;&lt;br&gt;Best greetings,
&lt;br&gt;Paweł Wielgus.
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/23 Hassan Schroeder &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513009&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hassan.schroeder@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Nov 22, 2009 at 8:44 AM, Michael Campbell
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513009&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.campbell@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I have a commercial website for my wife's business that's written using Java
&lt;br&gt;&amp;gt;&amp;gt; (jsps + servlet, WebWork, Ibatis).   I have wanted to redo it in rails for
&lt;br&gt;&amp;gt;&amp;gt; some time now (3 years!), but time has conspired against me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Funny, I'm in almost exactly that same situation :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My question boils down to, what are the jruby's team's thoughts or plans on
&lt;br&gt;&amp;gt;&amp;gt; keeping up with all this?  Is &amp;quot;running rails&amp;quot; a high priority
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Not speaking for anyone but myself, but having just spent most of
&lt;br&gt;&amp;gt; today at JRubyConf SF (and thanks to EngineYard and the rest of
&lt;br&gt;&amp;gt; the sponsors for a job well done!) -- I'd say yes, Rails running on
&lt;br&gt;&amp;gt; JRuby is a priority.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's not to say that it's exactly like running MRI; you have to be
&lt;br&gt;&amp;gt; aware of gems with native extensions, etc. but there's no reason I
&lt;br&gt;&amp;gt; can see for you to hesitate to  jump on board.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HTH,
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Hassan Schroeder ------------------------ &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513009&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hassan.schroeder@...&lt;/a&gt;
&lt;br&gt;&amp;gt; twitter: @hassan
&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/%22state-of-the-art%22-in-rails%2C-and-jruby--tp26466901p26513009.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26512006</id>
	<title>RE: strange error after upgrading from 1.3.1 to 1.4.0</title>
	<published>2009-11-25T04:44:16Z</published>
	<updated>2009-11-25T04:44:16Z</updated>
	<author>
		<name>Dhussa, Varun</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I had run into the same problem while upgrading to ruby 1.8.7 with the same rails platform. There are 2 things you can do:
&lt;br&gt;&lt;br&gt;1) Include the mb_chars class as a plugin into Rails 1.2.6
&lt;br&gt;2) Remove the ruby chars implementation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In your environment.rb add:
&lt;br&gt;Unless '1.9'.respond_to?(:force_encoding)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String.class_eval.do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; begin
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remove_method :chars
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rescue NameError
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #No prob!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;The first will require more work but is a better bet from a future migration perspective and that's what I've done. You will also need to change all chars calls to mb_chars.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Varun
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Vladimir Sizikov [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512006&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vsizikov@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, November 25, 2009 5:26 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512006&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [jruby-user] strange error after upgrading from 1.3.1 to 1.4.0
&lt;br&gt;&lt;br&gt;Hi Paweł,
&lt;br&gt;&lt;br&gt;I guess, rails provides its own version of #chars, which started to
&lt;br&gt;clash with MRI's 1.8.7 method with the same name, so #chars in rails
&lt;br&gt;is deprecated.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; --Vladimir
&lt;br&gt;&lt;br&gt;2009/11/25 Paweł Wielgus &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512006&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;poulwiel@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; i'm migrating my rails app from jruby 1.3.1 to 1.4.0 (linux)
&lt;br&gt;&amp;gt; and when running tests and entering a page where truncate helper is used
&lt;br&gt;&amp;gt; i have an exception :
&lt;br&gt;&amp;gt; NoMethodError: undefined method `length' for #&amp;lt;Enumerable::Enumerator
&lt;br&gt;&amp;gt; so after checking file text_helper.rb my rails (1.2.6) version it
&lt;br&gt;&amp;gt; turns out that there is a line:
&lt;br&gt;&amp;gt;      def truncate(text, length = 30, truncate_string = &amp;quot;...&amp;quot;)
&lt;br&gt;&amp;gt;        if text.nil? then return end
&lt;br&gt;&amp;gt;        l = length - truncate_string.chars.length
&lt;br&gt;&amp;gt;        text.chars.length &amp;gt; length ? text.chars[0...l] + truncate_string : text
&lt;br&gt;&amp;gt;      end
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; also in jirb
&lt;br&gt;&amp;gt; #&amp;quot;...&amp;quot;.chars.length
&lt;br&gt;&amp;gt; throws an exception,
&lt;br&gt;&amp;gt; so this method can't possibly work well - am i right?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then again in jruby 1.3.1 in jirb
&lt;br&gt;&amp;gt; #&amp;quot;...&amp;quot;.chars.length
&lt;br&gt;&amp;gt; throws Exception complaining about chars - no such method (windows)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Obviously i don't see something important because it should not work
&lt;br&gt;&amp;gt; in 1.3 and in 1.4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any ideas?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best greetings,
&lt;br&gt;&amp;gt; Paweł Wielgus.
&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/strange-error-after-upgrading-from-1.3.1-to-1.4.0-tp26511088p26512006.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511965</id>
	<title>Re: strange error after upgrading from 1.3.1 to 1.4.0</title>
	<published>2009-11-25T04:41:07Z</published>
	<updated>2009-11-25T04:41:07Z</updated>
	<author>
		<name>Paweł Wielgus</name>
	</author>
	<content type="html">Hi Vladimir,
&lt;br&gt;thank You for your reply.
&lt;br&gt;&lt;br&gt;So if would like to correct it some how,
&lt;br&gt;i would need to provide a patch to rails 1.2.6?
&lt;br&gt;&lt;br&gt;Best gretings,
&lt;br&gt;Paweł Wielgus.
&lt;br&gt;&lt;br&gt;2009/11/25 Vladimir Sizikov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vsizikov@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Paweł,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I guess, rails provides its own version of #chars, which started to
&lt;br&gt;&amp;gt; clash with MRI's 1.8.7 method with the same name, so #chars in rails
&lt;br&gt;&amp;gt; is deprecated.
&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; 2009/11/25 Paweł Wielgus &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511965&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;poulwiel@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt; i'm migrating my rails app from jruby 1.3.1 to 1.4.0 (linux)
&lt;br&gt;&amp;gt;&amp;gt; and when running tests and entering a page where truncate helper is used
&lt;br&gt;&amp;gt;&amp;gt; i have an exception :
&lt;br&gt;&amp;gt;&amp;gt; NoMethodError: undefined method `length' for #&amp;lt;Enumerable::Enumerator
&lt;br&gt;&amp;gt;&amp;gt; so after checking file text_helper.rb my rails (1.2.6) version it
&lt;br&gt;&amp;gt;&amp;gt; turns out that there is a line:
&lt;br&gt;&amp;gt;&amp;gt;      def truncate(text, length = 30, truncate_string = &amp;quot;...&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;        if text.nil? then return end
&lt;br&gt;&amp;gt;&amp;gt;        l = length - truncate_string.chars.length
&lt;br&gt;&amp;gt;&amp;gt;        text.chars.length &amp;gt; length ? text.chars[0...l] + truncate_string : text
&lt;br&gt;&amp;gt;&amp;gt;      end
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; also in jirb
&lt;br&gt;&amp;gt;&amp;gt; #&amp;quot;...&amp;quot;.chars.length
&lt;br&gt;&amp;gt;&amp;gt; throws an exception,
&lt;br&gt;&amp;gt;&amp;gt; so this method can't possibly work well - am i right?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Then again in jruby 1.3.1 in jirb
&lt;br&gt;&amp;gt;&amp;gt; #&amp;quot;...&amp;quot;.chars.length
&lt;br&gt;&amp;gt;&amp;gt; throws Exception complaining about chars - no such method (windows)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Obviously i don't see something important because it should not work
&lt;br&gt;&amp;gt;&amp;gt; in 1.3 and in 1.4
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any ideas?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Best greetings,
&lt;br&gt;&amp;gt;&amp;gt; Paweł Wielgus.
&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---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/strange-error-after-upgrading-from-1.3.1-to-1.4.0-tp26511088p26511965.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511587</id>
	<title>Re: Howto replace custom_require functionality</title>
	<published>2009-11-25T04:06:46Z</published>
	<updated>2009-11-25T04:06:46Z</updated>
	<author>
		<name>Paul F Fraser</name>
	</author>
	<content type="html">Paul F Fraser wrote:
&lt;br&gt;&amp;gt; If I try a modification to custom_require and just run the code (in 
&lt;br&gt;&amp;gt; netbeans) the paths are not listed, whereas if debugging, the paths 
&lt;br&gt;&amp;gt; are listed.
&lt;br&gt;This seems to be related to requiring rubygems. It seems the debugger 
&lt;br&gt;requires rubygems automatically, whereas my code had not required rubygems.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; b) IF it is possible to override (monkey patch) &amp;nbsp;custom require, how 
&lt;br&gt;&amp;gt; would it &amp;nbsp;need to be done? &amp;nbsp;I have tried monkey patching the kernel 
&lt;br&gt;&amp;gt; but my attempt did not work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;def require(path) # :doc:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;puts path &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# &amp;lt;&amp;lt;&amp;lt;&amp;lt; trivial addition
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;gem_original_require path
&lt;br&gt;&amp;gt; &amp;nbsp;rescue LoadError =&amp;gt; load_error
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if load_error.message =~ /#{Regexp.escape path}\z/ and
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; spec = Gem.searcher.find(path) then
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Gem.activate(spec.name, &amp;quot;= #{spec.version}&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;gem_original_require path
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;raise load_error
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;gt; &amp;nbsp;end
&lt;/div&gt;Any comments on point b) would be appreciated.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Paul F Fraser
&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/Howto-replace-custom_require-functionality-tp26507685p26511587.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511466</id>
	<title>Re: strange error after upgrading from 1.3.1 to 1.4.0</title>
	<published>2009-11-25T03:55:48Z</published>
	<updated>2009-11-25T03:55:48Z</updated>
	<author>
		<name>Vladimir Sizikov-2</name>
	</author>
	<content type="html">Hi Paweł,
&lt;br&gt;&lt;br&gt;I guess, rails provides its own version of #chars, which started to
&lt;br&gt;clash with MRI's 1.8.7 method with the same name, so #chars in rails
&lt;br&gt;is deprecated.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; --Vladimir
&lt;br&gt;&lt;br&gt;2009/11/25 Paweł Wielgus &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511466&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;poulwiel@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; i'm migrating my rails app from jruby 1.3.1 to 1.4.0 (linux)
&lt;br&gt;&amp;gt; and when running tests and entering a page where truncate helper is used
&lt;br&gt;&amp;gt; i have an exception :
&lt;br&gt;&amp;gt; NoMethodError: undefined method `length' for #&amp;lt;Enumerable::Enumerator
&lt;br&gt;&amp;gt; so after checking file text_helper.rb my rails (1.2.6) version it
&lt;br&gt;&amp;gt; turns out that there is a line:
&lt;br&gt;&amp;gt;      def truncate(text, length = 30, truncate_string = &amp;quot;...&amp;quot;)
&lt;br&gt;&amp;gt;        if text.nil? then return end
&lt;br&gt;&amp;gt;        l = length - truncate_string.chars.length
&lt;br&gt;&amp;gt;        text.chars.length &amp;gt; length ? text.chars[0...l] + truncate_string : text
&lt;br&gt;&amp;gt;      end
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; also in jirb
&lt;br&gt;&amp;gt; #&amp;quot;...&amp;quot;.chars.length
&lt;br&gt;&amp;gt; throws an exception,
&lt;br&gt;&amp;gt; so this method can't possibly work well - am i right?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then again in jruby 1.3.1 in jirb
&lt;br&gt;&amp;gt; #&amp;quot;...&amp;quot;.chars.length
&lt;br&gt;&amp;gt; throws Exception complaining about chars - no such method (windows)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Obviously i don't see something important because it should not work
&lt;br&gt;&amp;gt; in 1.3 and in 1.4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any ideas?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best greetings,
&lt;br&gt;&amp;gt; Paweł Wielgus.
&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/strange-error-after-upgrading-from-1.3.1-to-1.4.0-tp26511088p26511466.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511088</id>
	<title>strange error after upgrading from 1.3.1 to 1.4.0</title>
	<published>2009-11-25T03:23:13Z</published>
	<updated>2009-11-25T03:23:13Z</updated>
	<author>
		<name>Paweł Wielgus</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;i'm migrating my rails app from jruby 1.3.1 to 1.4.0 (linux)
&lt;br&gt;and when running tests and entering a page where truncate helper is used
&lt;br&gt;i have an exception :
&lt;br&gt;NoMethodError: undefined method `length' for #&amp;lt;Enumerable::Enumerator
&lt;br&gt;so after checking file text_helper.rb my rails (1.2.6) version it
&lt;br&gt;turns out that there is a line:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; def truncate(text, length = 30, truncate_string = &amp;quot;...&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if text.nil? then return end
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; l = length - truncate_string.chars.length
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.chars.length &amp;gt; length ? text.chars[0...l] + truncate_string : text
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;&lt;br&gt;also in jirb
&lt;br&gt;#&amp;quot;...&amp;quot;.chars.length
&lt;br&gt;throws an exception,
&lt;br&gt;so this method can't possibly work well - am i right?
&lt;br&gt;&lt;br&gt;Then again in jruby 1.3.1 in jirb
&lt;br&gt;#&amp;quot;...&amp;quot;.chars.length
&lt;br&gt;throws Exception complaining about chars - no such method (windows)
&lt;br&gt;&lt;br&gt;Obviously i don't see something important because it should not work
&lt;br&gt;in 1.3 and in 1.4
&lt;br&gt;&lt;br&gt;Any ideas?
&lt;br&gt;&lt;br&gt;Best greetings,
&lt;br&gt;Paweł Wielgus.
&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/strange-error-after-upgrading-from-1.3.1-to-1.4.0-tp26511088p26511088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510588</id>
	<title>[jira] Created: (JRUBY-4275) UNIXSocket#read without argument infinite loops when called on an EOF socket</title>
	<published>2009-11-25T02:37:55Z</published>
	<updated>2009-11-25T02:37:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">UNIXSocket#read without argument infinite loops when called on an EOF socket
&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-4275
&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-4275&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4275&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;Environment: OS X Snow Leopard
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Hongli Lai
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Thomas E Enebo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: 0002-Fix-a-bug-in-UNIXSocket-read-if-called-without-argum.patch
&lt;br&gt;&lt;br&gt;How to trigger the bug:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; a, b = UNIXSocket.pair
&lt;br&gt;&amp;nbsp; &amp;nbsp; a.write(&amp;quot;hi&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; a.close
&lt;br&gt;&amp;nbsp; &amp;nbsp; puts &amp;quot;reading&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; p b.read &amp;nbsp; # Hangs here
&lt;br&gt;&lt;br&gt;This patch solves the problem. &lt;a href=&quot;http://github.com/rubyspec/rubyspec/commit/e3735d59fd050a565abffa8f22020d4696f2fb07&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/rubyspec/rubyspec/commit/e3735d59fd050a565abffa8f22020d4696f2fb07&lt;/a&gt;&amp;nbsp;also triggers the bug.
&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-4275%29-UNIXSocket-read-without-argument-infinite-loops-when-called-on-an-EOF-socket-tp26510588p26510588.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510530</id>
	<title>[jira] Created: (JRUBY-4274) UNIXSocket#close_read and #close_write are not implemented</title>
	<published>2009-11-25T02:32:56Z</published>
	<updated>2009-11-25T02:32:56Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">UNIXSocket#close_read and #close_write are 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-4274
&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-4274&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4274&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;Environment: OS X Snow Leopard
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Hongli Lai
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Thomas E Enebo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: 0001-Implement-UNIXSocket-close_read-and-close_write.patch
&lt;br&gt;&lt;br&gt;#close_read and #close_write are implemented for all IO objects but not for UNIXSocket. This patch not only implements UNIXSocket#close_read and #close_write, but also makes #close_read and #close_write raise a NotImplementedError for socket types that do not implement #close_read and #close_write (none at the moment).
&lt;br&gt;&lt;br&gt;Incidentally, while creating this patch, I also discovered that UNIXSocket#read is bugged. I'm filing a separate issue for that. This patch doesn't work until the other issue is solved too.
&lt;br&gt;&lt;br&gt;RubySpec: &lt;a href=&quot;http://github.com/rubyspec/rubyspec/commit/e3735d59fd050a565abffa8f22020d4696f2fb07&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/rubyspec/rubyspec/commit/e3735d59fd050a565abffa8f22020d4696f2fb07&lt;/a&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-4274%29-UNIXSocket-close_read-and--close_write-are-not-implemented-tp26510530p26510530.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509577</id>
	<title>[jira] Created: (JRUBY-4273) Loading of *compiled* files is much slower in JRuby than loading in MRI (10x)</title>
	<published>2009-11-25T01:17:55Z</published>
	<updated>2009-11-25T01:17:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Loading of *compiled* files is much slower in JRuby than loading in MRI (10x)
&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-4273
&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-4273&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4273&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: Compiler, Performance
&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; &amp;nbsp; Reporter: Vladimir Sizikov
&lt;br&gt;&lt;br&gt;&lt;br&gt;I've just updated the bench_load benchmark to include 1K load() calls for a class files compiled from rb files.
&lt;br&gt;&lt;br&gt;Compare the results. Essentially, loading compiled class is 5x-6x slower than loading rb class, which in turn 2x-3x times slower than loading in MRI. So, loading compiled class is 10x-15x slower than loading in MRI! Something is fishy!
&lt;br&gt;&lt;br&gt;JRuby:
&lt;br&gt;{noformat}
&lt;br&gt;D:\work\jruby-dev\jruby&amp;gt;jruby bench\bench_load.rb
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user &amp;nbsp; &amp;nbsp; system &amp;nbsp; &amp;nbsp; &amp;nbsp;total &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;real
&lt;br&gt;&amp;nbsp; 1 load 'fileutils-like' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.077000 &amp;nbsp; 0.000000 &amp;nbsp; 0.077000 ( &amp;nbsp;0.056000)
&lt;br&gt;&amp;nbsp;1K load 'fileutils-like' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11.206000 &amp;nbsp; 0.000000 &amp;nbsp;11.206000 ( 11.206000)
&lt;br&gt;&amp;nbsp;1K load compiled 'fileutils-like' &amp;nbsp;62.036000 &amp;nbsp; 0.000000 &amp;nbsp;62.036000 ( 62.035000)
&lt;br&gt;&amp;nbsp;1K load 'rational' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.442000 &amp;nbsp; 0.000000 &amp;nbsp; 3.442000 ( &amp;nbsp;3.442000)
&lt;br&gt;10K require 'non-existing' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4.759000 &amp;nbsp; 0.000000 &amp;nbsp; 4.759000 ( &amp;nbsp;4.759000)
&lt;br&gt;{noformat}
&lt;br&gt;&lt;br&gt;MRI:
&lt;br&gt;{noformat}
&lt;br&gt;ruby bench\bench_load.rb
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user &amp;nbsp; &amp;nbsp; system &amp;nbsp; &amp;nbsp; &amp;nbsp;total &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;real
&lt;br&gt;&amp;nbsp; 1 load 'fileutils-like' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.016000 &amp;nbsp; 0.000000 &amp;nbsp; 0.016000 ( &amp;nbsp;0.007000)
&lt;br&gt;&amp;nbsp;1K load 'fileutils-like' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6.068000 &amp;nbsp; 0.327000 &amp;nbsp; 6.395000 ( &amp;nbsp;6.460370)
&lt;br&gt;&amp;nbsp;1K load 'rational' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.810000 &amp;nbsp; 0.265000 &amp;nbsp; 2.075000 ( &amp;nbsp;2.086119)
&lt;br&gt;10K require 'non-existing' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.745000 &amp;nbsp;11.014000 &amp;nbsp;13.759000 ( 15.684897)
&lt;br&gt;{noformat}
&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-4273%29-Loading-of-*compiled*-files-is-much-slower-in-JRuby-than-loading-in-MRI-%2810x%29-tp26509577p26509577.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507685</id>
	<title>Howto replace custom_require functionality</title>
	<published>2009-11-24T21:18:55Z</published>
	<updated>2009-11-24T21:18:55Z</updated>
	<author>
		<name>Paul F Fraser</name>
	</author>
	<content type="html">If I try a modification to custom_require and just run the code (in 
&lt;br&gt;netbeans) the paths are not listed, whereas if debugging, the paths are 
&lt;br&gt;listed.
&lt;br&gt;&lt;br&gt;a) What is the program flow in jruby that causes this?
&lt;br&gt;&lt;br&gt;b) IF it is possible to override (monkey patch) &amp;nbsp;custom require, how 
&lt;br&gt;would it &amp;nbsp;need to be done? &amp;nbsp;I have tried monkey patching the kernel but 
&lt;br&gt;my attempt did not work.
&lt;br&gt;&lt;br&gt;&amp;nbsp; def require(path) # :doc:
&lt;br&gt;&amp;nbsp; &amp;nbsp; puts path &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# &amp;lt;&amp;lt;&amp;lt;&amp;lt; trivial addition
&lt;br&gt;&amp;nbsp; &amp;nbsp; gem_original_require path
&lt;br&gt;&amp;nbsp; rescue LoadError =&amp;gt; load_error
&lt;br&gt;&amp;nbsp; &amp;nbsp; if load_error.message =~ /#{Regexp.escape path}\z/ and
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;spec = Gem.searcher.find(path) then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Gem.activate(spec.name, &amp;quot;= #{spec.version}&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; gem_original_require path
&lt;br&gt;&amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; raise load_error
&lt;br&gt;&amp;nbsp; &amp;nbsp; end
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Paul F Fraser
&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---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/Howto-replace-custom_require-functionality-tp26507685p26507685.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504496</id>
	<title>Re: openssl error with quick_cert code</title>
	<published>2009-11-24T14:36:30Z</published>
	<updated>2009-11-24T14:36:30Z</updated>
	<author>
		<name>Paul F Fraser</name>
	</author>
	<content type="html">Charles Oliver Nutter wrote:
&lt;br&gt;&amp;gt; If you can reduce this to something we can run, even if it requires an
&lt;br&gt;&amp;gt; external library (though only depending on OpenSSL is ideal) it would
&lt;br&gt;&amp;gt; help. And you should file a bug too :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Charlie,
&lt;br&gt;&amp;nbsp;Bug jruby-4272 submitted
&lt;br&gt;Paul
&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/openssl--error-with-quick_cert-code-tp26420279p26504496.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504429</id>
	<title>[jira] Created: (JRUBY-4272) openssl error with quickcert code - unknown algorithm  in keypair.export</title>
	<published>2009-11-24T14:30:55Z</published>
	<updated>2009-11-24T14:30:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">openssl error with quickcert code - unknown algorithm &amp;nbsp;in keypair.export
&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-4272
&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-4272&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4272&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: OpenSSL
&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: Ubuntu 9.04, JRuby 1.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Paul Fraser
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: JRuby-OpenSSL 0.5.2
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://gist.github.com/242281&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/242281&lt;/a&gt;&amp;nbsp;
&lt;br&gt;checked by Headius and confirmed error in IRC
&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-4272%29-openssl-error-with-quickcert-code---unknown-algorithm--in-keypair.export-tp26504429p26504429.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504281</id>
	<title>Re: Problems with table name quoting in ActiveRecord-JDBC-Adapter &gt; 0.9.0</title>
	<published>2009-11-24T14:20:08Z</published>
	<updated>2009-11-24T14:20:08Z</updated>
	<author>
		<name>eranlo</name>
	</author>
	<content type="html">I'm having a similar problem with mysql db where the schema name is stripped from the query. In my model I have
&lt;br&gt;set_table_name &amp;quot;myschema.companies&amp;quot; 
&lt;br&gt;but when I try to access it I get the following:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Company.find(1)
&lt;br&gt;ActiveRecord::ActiveRecordError: Table companies does not exist
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from c:/dev/jruby-1.4.0/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `columns_with_query_cache'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from c:/dev/jruby-1.4.0/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1271:in `columns'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from c:/dev/jruby-1.4.0/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1279:in `columns_hash'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from c:/dev/jruby-1.4.0/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1578:in `find_one'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from c:/dev/jruby-1.4.0/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1569:in `find_from_ids'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from c:/dev/jruby-1.4.0/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:616:in `find'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from (irb):3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;I can see that the full table name is being passed down to the JdbcConnection in the JdbcAdapter. I recently upgraded from rails 2.0.2 where this code worked without a problem. Any ideas? Will the change to RubyJdbcConnection.java fix it? And if so, is it planned as part of a new version?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Eran
&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;Andreas Gungl-3 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Am Mittwoch, 4. November 2009 schrieb Nick Sieger:
&lt;br&gt;&amp;gt; Hi Andreas,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the report. Looks like we have some work to do on the
&lt;br&gt;&amp;gt; Oracle adapter. If you monkey-patch the JdbcSpec::Oracle module to add
&lt;br&gt;&amp;gt; a #quote_table_name method that does what you need, does it help? Or
&lt;br&gt;&amp;gt; do you still need the Java patch below?
&lt;br&gt;&lt;br&gt;Hi Nick,
&lt;br&gt;&lt;br&gt;I needed both changes. The Ruby part corrects the quoting of the table name, 
&lt;br&gt;the Java part fixes the extraction of the schema name from the model's 
&lt;br&gt;table_name (if set via: set_table_name &amp;quot;schema.table&amp;quot;).
&lt;br&gt;&lt;br&gt;Further I've found in jdbc_oracle.rb:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; def self.guess_date_or_time(value)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (value.hour == 0 &amp;&amp; value.min == 0 &amp;&amp; value.sec == 0) ?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new_date(value.year, value.month, value.day) : value
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;&lt;br&gt;I haven't found a definition for new_date(). If my code hits that line, I 
&lt;br&gt;get an exception...
&lt;br&gt;I think, the code as in the oracle_enhanced adapter is safer (as I also had 
&lt;br&gt;problems with the hour() method in some circumstances):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; def self.guess_date_or_time(value)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value.respond_to?(:hour) &amp;&amp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (value.hour == 0 &amp;&amp; value.min == 0 &amp;&amp; value.sec == 0) ?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date.new(value.year, value.month, value.day) : value
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; In any case, if you could file this in
&lt;br&gt;&amp;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;, that would be great.
&lt;br&gt;&lt;br&gt;Sure, I will do including a patch against the files from 0.9.2.
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;&amp;gt; /Nick
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Nov 4, 2009 at 4:46 AM, Andreas Gungl &amp;lt;gungl@osp-dd.de&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Am Mittwoch, 4. November 2009 schrieb gungl@osp-dd.de:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; The difference is that the version &amp;gt; 0.9.0 quotes the table names and
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;thus invalidates the statements.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; The only working quotation were &amp;quot;LNX&amp;quot;.&amp;quot;S_KEY&amp;quot; for the example above.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; But I don't see a way to make this work without taking out the schema
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; from the name. (In that case I'd write only the table name and in
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; upper case.)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here's what I've found so far:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; a) Quoting
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Originally in AR 2.2.2 (that's what I have here) there is in
&lt;br&gt;&amp;gt; &amp;gt; quoting.rb:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Quotes the column name. Defaults to no quoting.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;def quote_column_name(column_name)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;column_name
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Quotes the table name. Defaults to column name quoting.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;def quote_table_name(table_name)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;quote_column_name(table_name)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; So quote_table_name doesn't quote here. Unfortunately jdbc_oracle.rb
&lt;br&gt;&amp;gt; &amp;gt; redefines quote_column_name. It would be good to add there:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;# Quotes the table name. Defaults to original column name quoting
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;# from AR which doesn't quote!
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;def quote_table_name(table_name)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;table_name
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; b) Schema usage
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; In RubyJdbcConnection.java we have:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;public IRubyObject columns_internal(final ThreadContext context,
&lt;br&gt;&amp;gt; &amp;gt; final IRubyObject[] args) throws SQLException, IOException {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return (IRubyObject) withConnectionAndRetry(context, new
&lt;br&gt;&amp;gt; &amp;gt; SQLBlock() { public Object call(Connection c, Block proc) throws
&lt;br&gt;&amp;gt; &amp;gt; SQLException { ResultSet results = null;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String table_name =
&lt;br&gt;&amp;gt; &amp;gt; rubyApi.convertToRubyString(args[0]).getUnicodeValue(); String
&lt;br&gt;&amp;gt; &amp;gt; schemaName = null;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int index = table_name.indexOf(&amp;quot;.&amp;quot;);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(index != -1) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;schemaName = table_name.substring(0, index);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;table_name = table_name.substring(index + 1);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DatabaseMetaData metadata = c.getMetaData();
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(args.length &amp;gt; 2 &amp;&amp; schemaName == null) schemaName
&lt;br&gt;&amp;gt; &amp;gt; = toStringOrNull(args[2]);
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (schemaName != null) schemaName =
&lt;br&gt;&amp;gt; &amp;gt; caseConvertIdentifierForJdbc(metadata, schemaName); table_name =
&lt;br&gt;&amp;gt; &amp;gt; caseConvertIdentifierForJdbc(metadata, table_name);
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The problem is that the schema name is corectly parsed from the table
&lt;br&gt;&amp;gt; &amp;gt; name but then it's unconditionally replaced by the schema name of the
&lt;br&gt;&amp;gt; &amp;gt; current user. The commands should get rearranged like this:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String table_name =
&lt;br&gt;&amp;gt; &amp;gt; rubyApi.convertToRubyString(args[0]).getUnicodeValue(); String
&lt;br&gt;&amp;gt; &amp;gt; schemaName = null;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DatabaseMetaData metadata = c.getMetaData();
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int index = table_name.indexOf(&amp;quot;.&amp;quot;);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(index != -1) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;schemaName = table_name.substring(0, index);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;table_name = table_name.substring(index + 1);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(args.length &amp;gt; 2) schemaName =
&lt;br&gt;&amp;gt; &amp;gt; args[2].toString(); }
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (schemaName != null) schemaName =
&lt;br&gt;&amp;gt; &amp;gt; caseConvertIdentifierForJdbc(metadata, schemaName); table_name =
&lt;br&gt;&amp;gt; &amp;gt; caseConvertIdentifierForJdbc(metadata, table_name);
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; That means to read the meta data before the check for a schema part in
&lt;br&gt;&amp;gt; &amp;gt; the table name, and then use the schema from the meta data only if no
&lt;br&gt;&amp;gt; &amp;gt; schema name was found.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Best regards,
&lt;br&gt;&amp;gt; &amp;gt; Andreas
&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; &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;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;&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;/div&gt;
&lt;/div&gt;&lt;/blockquote&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/Problems-with-table-name-quoting-in-ActiveRecord-JDBC-Adapter-%3E-0.9.0-tp26193773p26504281.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504084</id>
	<title>[jira] Created: (JRUBY-4271) interfaces on reified classes patch was incomplete and broke instances being passed to java code.</title>
	<published>2009-11-24T14:04:55Z</published>
	<updated>2009-11-24T14:04:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">interfaces on reified classes patch was incomplete and broke instances being passed to java code.
&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-4271
&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-4271&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4271&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: Java Integration
&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: Mathijs Kwik
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Trivial
&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;jruby 1.4 brought become_java!
&lt;br&gt;however if a ruby class implemented any java interfaces, the reified java class didn't show up as implementing those interfaces.
&lt;br&gt;This was fixed in 19176f8188bef2786b1e3ec49dcff04f408cdee8, but the patch was incomplete and made instances of the reified class turn into null when passed to java code.
&lt;br&gt;&lt;br&gt;example:
&lt;br&gt;&lt;a href=&quot;http://gist.github.com/242222&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/242222&lt;/a&gt;&lt;br&gt;&lt;br&gt;fix (thanks to headius):
&lt;br&gt;&lt;a href=&quot;http://gist.github.com/242260&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/242260&lt;/a&gt;&lt;br&gt;&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-4271%29-interfaces-on-reified-classes-patch-was-incomplete-and-broke-instances-being-passed-to-java-code.-tp26504084p26504084.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503964</id>
	<title>Re: openssl error with quick_cert code</title>
	<published>2009-11-24T13:53:52Z</published>
	<updated>2009-11-24T13:53:52Z</updated>
	<author>
		<name>Charles Oliver Nutter-4</name>
	</author>
	<content type="html">If you can reduce this to something we can run, even if it requires an
&lt;br&gt;external library (though only depending on OpenSSL is ideal) it would
&lt;br&gt;help. And you should file a bug too :)
&lt;br&gt;&lt;br&gt;On Wed, Nov 18, 2009 at 10:30 PM, Paul F Fraser &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503964&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paulf@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Trying to get quick_cert working with JRuby 1.4. The following code bombs
&lt;br&gt;&amp;gt; out
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   keypair = OpenSSL::PKey::RSA.new(1024)
&lt;br&gt;&amp;gt;   if new_certificate_opts[:password].nil? then
&lt;br&gt;&amp;gt;     File.open @keypair_file, &amp;quot;w&amp;quot;, 0400 do |f|  # 0400 = 000 100 000 000
&lt;br&gt;&amp;gt;  owner read only ??
&lt;br&gt;&amp;gt;       f &amp;lt;&amp;lt; keypair.to_pem
&lt;br&gt;&amp;gt;     end
&lt;br&gt;&amp;gt;   else
&lt;br&gt;&amp;gt;     passwd_cb = proc do
&lt;br&gt;&amp;gt;       new_certificate_opts[:password]
&lt;br&gt;&amp;gt;     end
&lt;br&gt;&amp;gt;     cipher = OpenSSL::Cipher::DES.new(:EDE3, :CBC)
&lt;br&gt;&amp;gt;     keypair_export = keypair.export(cipher, new_certificate_opts[:password])
&lt;br&gt;&amp;gt;  &amp;lt;&amp;lt;&amp;lt;&amp;lt; fails on this line
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------error-------------------------------------------------------------
&lt;br&gt;&amp;gt; org/jruby/ext/openssl/x509store/PEMInputOutput.java:730:in
&lt;br&gt;&amp;gt; `writeRSAPrivateKey': java.io.IOException: unknown algorithm in
&lt;br&gt;&amp;gt; write_DSAPrivateKey (NativeException)
&lt;br&gt;&amp;gt;       from org/jruby/ext/openssl/PKeyRSA.java:418:in `export'
&lt;br&gt;&amp;gt;       from sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0'
&lt;br&gt;&amp;gt;       from sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke'
&lt;br&gt;&amp;gt;       from sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke'
&lt;br&gt;&amp;gt;       from java/lang/reflect/Method.java:597:in `invoke'
&lt;br&gt;&amp;gt;       from
&lt;br&gt;&amp;gt; org/jruby/internal/runtime/methods/ReflectedJavaMethod.java:145:in `call'
&lt;br&gt;&amp;gt;       from org/jruby/internal/runtime/methods/DynamicMethod.java:188:in
&lt;br&gt;&amp;gt; `call'
&lt;br&gt;&amp;gt;       from org/jruby/internal/runtime/methods/DynamicMethod.java:184:in
&lt;br&gt;&amp;gt; `call'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyone able to offer any advice?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Paul F Fraser
&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/openssl--error-with-quick_cert-code-tp26420279p26503964.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503787</id>
	<title>Re: JRuby + hibernate</title>
	<published>2009-11-24T13:43:04Z</published>
	<updated>2009-11-24T13:43:04Z</updated>
	<author>
		<name>Thomas E Enebo</name>
	</author>
	<content type="html">Go Chris Go!
&lt;br&gt;&lt;br&gt;-Tom
&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 1:58 PM, Chris Nelson
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503787&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;me@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; For those not at jrubyconf, I've taken some of the code from my lightning
&lt;br&gt;&amp;gt; talk and pushed it to github.  It uses Charlie's jibernate code as a
&lt;br&gt;&amp;gt; starting point, but the intention is to flesh it out enough to make it a
&lt;br&gt;&amp;gt; viable ruby persistence back end.  So far I've gotten annotation emitting
&lt;br&gt;&amp;gt; working and managed to ditch the xml.  There's lot's more to do.  Github
&lt;br&gt;&amp;gt; repo is: git://github.com/superchris/hibernate.git
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --Chris
&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=26503787&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/JRuby-%2B-hibernate-tp26484811p26503787.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503611</id>
	<title>[jira] Created: (JRUBY-4270) rdebug 'next' command behaves like the 'step' command</title>
	<published>2009-11-24T13:28:55Z</published>
	<updated>2009-11-24T13:28:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">rdebug 'next' command behaves like the 'step' command
&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-4270
&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-4270&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JRUBY-4270&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; Affects Versions: JRuby 1.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: Ubuntu 9.10
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Jeremy Stephens
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Thomas E Enebo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: test.rb
&lt;br&gt;&lt;br&gt;The 'next' command in ruby-debug in JRuby behaves like the 'step' command. &amp;nbsp;That is, it steps into the next statement rather than skipping over it.
&lt;br&gt;&lt;br&gt;Attached is a test file used with rdebug (jruby -S rdebug test.rb).
&lt;br&gt;&lt;br&gt;The problem goes away when the --debug flag is passed to JRuby. &amp;nbsp;Should rdebug automatically include the --debug option?
&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-4270%29-rdebug-%27next%27-command-behaves-like-the-%27step%27-command-tp26503611p26503611.html" />
</entry>

</feed>
