ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Ruby 2.0 Support
Posted by Pieter on Sep-02-2013 15:54
Hi guys,

I'm trying to use CharDirector with Ruby version 2.0 but getting a couple of different errors.  When will
ChartDirector support Ruby 2.0?

The main error I'm getting at the moment:

/opt/ChartDirector/chartdirector.rb:32:in `callMethod': Error converting argument 1 to type 11DoubleArray
(TypeError)
from /opt/ChartDirector/chartdirector.rb:32:in `_r'
from /opt/ChartDirector/chartdirector.rb:58:in `_r'
from /opt/ChartDirector/chartdirector.rb:119:in `method_missing'


Thanks,
Pieter

  Re: Ruby 2.0 Support
Posted by Pieter on Sep-02-2013 15:55
Just a thought: maybe when   rubycdapi20.so   is released?

  Re: Ruby 2.0 Support
Posted by Pieter on Sep-02-2013 21:06
Never mind, it works fine with Ruby 2.0 except where I used Time.

From version 5.1, by the looks of it, it is the elapsed time from 01/01/0001 and not 01/01/1970.