Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6RC1
-
Fix Version/s: JRuby 1.6RC2, JRuby 1.6
-
Component/s: Intro, Ruby 1.9.2
-
Labels:None
-
Environment:Mac OS X 10.6.6
-
Number of attachments :
Description
jruby --1.9 -ve "puts 1.2345.round(2)"
jruby 1.6.0.RC1 (ruby 1.9.2 trunk 136) (2011-01-13 611da54) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]
-e:1:in `(root)': wrong number of arguments (1 for 0) (ArgumentError)
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.3.0]
1.23
Fixed in https://github.com/jruby/jruby/commit/a50a294dd175ffa98816238ec244dfd5ce68c9d5
Specs pushed as well: https://github.com/rubyspec/rubyspec/commit/d6e6851273fe04be7010130f4deeb906d35311a9