[#23457] [Bug #1471] "Mutual join" deadlock detection faulty in 1.8.6 and 1.8.7 — John Carter <redmine@...>

Bug #1471: "Mutual join" deadlock detection faulty in 1.8.6 and 1.8.7

17 messages 2009/05/15

[#23483] [Bug #1478] Ruby archive — Oleg Puchinin <redmine@...>

Bug #1478: Ruby archive

29 messages 2009/05/16
[#29225] [Feature #1478] Ruby archive — Luis Lavena <redmine@...> 2010/04/02

Issue #1478 has been updated by Luis Lavena.

[#30345] Re: [Feature #1478] Ruby archive — "NAKAMURA, Hiroshi" <nakahiro@...> 2010/05/21

On Fri, Apr 2, 2010 at 17:13, Luis Lavena <redmine@ruby-lang.org> wrote:

[#30346] Re: [Feature #1478] Ruby archive — Jonathan Nielsen <jonathan@...> 2010/05/21

> Thanks for your comment.

[#30347] Re: [Feature #1478] Ruby archive — Jonathan Nielsen <jonathan@...> 2010/05/21

OK Hiroshi, I read some of the comments earlier in the thread that I

[#30355] Re: [Feature #1478] Ruby archive — Caleb Clausen <vikkous@...> 2010/05/21

On 5/20/10, Jonathan Nielsen <jonathan@jmnet.us> wrote:

[#30364] Re: [Feature #1478] Ruby archive — Benoit Daloze <eregontp@...> 2010/05/22

Hi,

[#23505] [Bug #1494] tempfile#unlink may silently fail on windows — Nicholas Manning <redmine@...>

Bug #1494: tempfile#unlink may silently fail on windows

19 messages 2009/05/19

[#23572] [Bug #1525] Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork? — Hongli Lai <redmine@...>

Bug #1525: Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?

27 messages 2009/05/27

[#23595] Meaning of RUBY_PLATFORM — Rick DeNatale <rick.denatale@...>

The RUBY_PLATFORM constant is documented in the latest Pickaxe as "The

17 messages 2009/05/28
[#23596] Re: Meaning of RUBY_PLATFORM — Luis Lavena <luislavena@...> 2009/05/28

On Thu, May 28, 2009 at 3:41 PM, Rick DeNatale <rick.denatale@gmail.com> wrote:

[#23602] Re: Meaning of RUBY_PLATFORM — Rick DeNatale <rick.denatale@...> 2009/05/28

On Thu, May 28, 2009 at 2:52 PM, Luis Lavena <luislavena@gmail.com> wrote:

[#23608] Re: Meaning of RUBY_PLATFORM — Luis Lavena <luislavena@...> 2009/05/28

On Thu, May 28, 2009 at 7:08 PM, Rick DeNatale <rick.denatale@gmail.com> wrote:

[#23609] Re: Meaning of RUBY_PLATFORM — Rick DeNatale <rick.denatale@...> 2009/05/29

On Thu, May 28, 2009 at 7:22 PM, Luis Lavena <luislavena@gmail.com> wrote:

[ruby-core:23415] [Bug #1454] compatability of rational and bigdecimal (1.8 and 1.9)

From: Karl Brodowsky <redmine@...>
Date: 2009-05-10 12:32:18 UTC
List: ruby-core #23415
Bug #1454: compatability of rational and bigdecimal (1.8 and 1.9)
http://redmine.ruby-lang.org/issues/show/1454

Author: Karl Brodowsky
Status: Open, Priority: Normal
Category: core, Target version: Ruby 1.8.8
ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [i586-linux]

I did the following to produce this error:

---------------------------------------------
ruby 1.8
---------------------------------------------
require "rational"
require "bigdecimal"
a=BigDecimal("3.2")
b=Rational(3,4)
b/a
---> TypeError: Rational can't be coerced into BigDecimal
        from /usr/lib/ruby/1.8/rational.rb:206:in `coerce'
        from /usr/lib/ruby/1.8/rational.rb:206:in `/'
        from (irb):14

b+a, b-a and b*a yield a similar error
a+b, a-b, a*b and a/b work fine.

$ irb --version
--> irb 0.9.5(05/04/13)
$ ruby --version
--> ruby 1.8.7 (2008-08-11 patchlevel 72) [i586-linux]

---------------------------------------------
jruby 1.2
---------------------------------------------
jruby does seem to have this issue:
$ jruby --version
--> jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]
$ jirb --version
--> irb 0.9.5(05/04/13)
[code above in jirb]
--> TypeError: Rational can't be coerced into BigDecimal
        from /usr/local/lib/jruby/lib/ruby/1.8/rational.rb:206:in `/'
        from (irb):6

---------------------------------------------
ruby 1.9
---------------------------------------------
$ ruby --version
--> ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
$ irb --version
--> irb 0.9.5(05/04/13)
[above code in irb]
--> TypeError: BigDecimal can't be coerced into Rational
        from (irb):5:in `/'
        from (irb):5
        from /usr/local/bin/irb:12:in `<main>'


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next