[jruby-dev] [jira] Created: (JRUBY-4606) bench/bench_erubis.rb

2010-02-26 Thread Christian Thalinger (JIRA)
bench/bench_erubis.rb -- Key: JRUBY-4606 URL: http://jira.codehaus.org/browse/JRUBY-4606 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.5 Environment: SPARC Solaris Reporter: Christian

[jruby-dev] [jira] Created: (JRUBY-4607) Launcher incorrectly handles cases when JVM heap/stack settings are provided in command line and in JAVA_OPTS

2010-02-26 Thread Vladimir Sizikov (JIRA)
Launcher incorrectly handles cases when JVM heap/stack settings are provided in command line and in JAVA_OPTS - Key: JRUBY-4607 URL: http://jira.codehaus.o

[jruby-dev] rails 2.3.5 - Error - wrong number of arguments (1 for 0)

2010-02-26 Thread jgrewal
Hi, I am using Jruby on Rails with Tomcat and Hibernate in a project. I recently upgraded the server. After upgrade, I am using: Jruby 1.1.6 Rails (gem) 2.3.5 Tomcat 6 Everything works ok, but I randomly get the error below. It seems that rails is somehow passing some arguments to controller met

Re: [jruby-dev] rails 2.3.5 - Error - wrong number of arguments (1 for 0)

2010-02-26 Thread Hirotsugu Asari
Hi, Jas, Is there a reason that you're using JRuby 1.1.6? I don't think anyone remembers how JRuby behaved back then. ;-) On Feb 26, 2010, at 1:58 PM, jgrewal wrote: > > Hi, > > I am using Jruby on Rails with Tomcat and Hibernate in a project. I recently > upgraded the server. After upgrade,

Re: [jruby-dev] rails 2.3.5 - Error - wrong number of arguments (1 for 0)

2010-02-26 Thread jgrewal
Hi Hirotsugu Asari, Thansk for looking into the problem. I was trying to be a bit conservative with the upgrade by going from jruby 1.1.4 to 1.1.6 instead of 1.4 as I was worried about backward compatibility of jruby. Also yum install jruby.x86_64 without specifying a version installed 1.1.6, s

Re: [jruby-dev] rails 2.3.5 - Error - wrong number of arguments (1 for 0)

2010-02-26 Thread jgrewal
I upgraded to jruby 1.4 but still get the same error. jgrewal wrote: > > Hi Hirotsugu Asari, > > Thansk for looking into the problem. > > I was trying to be a bit conservative with the upgrade by going from jruby > 1.1.4 to 1.1.6 instead of 1.4 as I was worried about backward > compatibilit

Re: [jruby-dev] rails 2.3.5 - Error - wrong number of arguments (1 for 0)

2010-02-26 Thread Joseph Athman
Does this happen if you run your app using jruby and mongrel? Not running it in Tomcat? > jruby -S mongrel Then you can at least know if it is rails, or if it is your setup with Tomcat. Joe On Fri, Feb 26, 2010 at 5:52 PM, jgrewal wrote: > > I upgraded to jruby 1.4 but still get the same err

[jruby-dev] Fwd: Possible JRuby/MRI inconsistency: JRuby doesn't run 'ensure' after kill -HUP

2010-02-26 Thread Abhijit Hiremagalur
We think we've found an inconsistency between how JRuby and MRI handle SIGHUP signals (and others like SIGINT). In MRI any ensure blocks in the method being executed get run but under JRuby this doesn't appear to be the case. We've attached a test that we think exposes the issue, i.e. the JRuby te

Re: [jruby-dev] rails 2.3.5 - Error - wrong number of arguments (1 for 0)

2010-02-26 Thread Hirotsugu Asari
So, this is reproducible? I was somehow under the impression that this is intermittent. Do you know what parameters are passed in what controller, etc.? Your trace seems awfully incomplete. On Feb 26, 2010, at 5:52 PM, jgrewal wrote: > > I upgraded to jruby 1.4 but still get the same error.

[jruby-dev] [jira] Created: (JRUBY-4608) [RubySpec] Dir. pwd correctly displays dirs with unicode cha racters in them ERROR Errno::EEXIST: File ex ists - /Users/asari/Development/src/jruby/é

2010-02-26 Thread Hiro Asari (JIRA)
[RubySpec] Dir.pwd correctly displays dirs with unicode characters in them ERROR Errno::EEXIST: File exists - /Users/asari/Development/src/jruby/é ---

Re: [jruby-dev] rails 2.3.5 - Error - wrong number of arguments (1 for 0)

2010-02-26 Thread jgrewal
The problem does not happen in development where I am using mongrel and not tomcat. Only one of the controllers give this error. It works initially but once I get this error, I keep getting it. It seems like it happens even before the controller method or any of my application code is called. I

[jruby-dev] [jira] Created: (JRUBY-4609) [FindBugs] Use Map of java.net.URIs, instead of java.net.URLs.

2010-02-26 Thread Hiro Asari (JIRA)
[FindBugs] Use Map of java.net.URIs, instead of java.net.URLs. -- Key: JRUBY-4609 URL: http://jira.codehaus.org/browse/JRUBY-4609 Project: JRuby Issue Type: Improvement Co