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

Message ListMessage List     Post MessagePost Message

  Ruby 2.6 end of life
Posted by Compatibility Question on Mar-04-2022 18:51

We love chartdirector and have been using it on one of our apps for nearly 15 years!

Our application support provider is telling us however that we need to migrate shortly from Ruby 2.6 (which is end of life at the end of March 2022), and that they don't think chartdirector will work with versions of Ruby 2.7 and onwards.

Could anyone provide any advice on compatibility?



  Re: Ruby 2.6 end of life
Posted by Peter Kwan on Mar-04-2022 23:06
Hi Phil,

We can try to compile a special build for ChartDirector 6.3 for Ruby 2.7. Would you mind to clarify which operating system you are using (windows, macOS, Linux 32-bit, Linux 64-bit)?

Peter Kwan

  Re: Ruby 2.6 end of life
Posted by John Pitchko on Jul-16-2022 22:16
Could you publish a version for Apple Silicon please?

  Re: Ruby 2.6 end of life
Posted by Peter Kwan on Jul-20-2022 03:52
Hi John,

I have done a simple test. I found that the ChartDirector 6 for Ruby for macOS can work with the ruby 2.6 that comes with recent versions of macOS.

(The ChartDirector 6 for Ruby is built for up to to Ruby 2.3. Due to the way Linux and macOS handles shared objects, it can work with later other Ruby versions as long as the Ruby is backwards binary compatible with Ruby 2.3.)

The official ChartDirector 6 for Ruby for macOS release is a universal binary built for the x86_64 and i386 architecture. It is possible to use them on Apple Silicon by using Rosetta to run in x86_64 mode. (The ruby that comes with macOS supports both x86_64 and arm64.)

From the command line, you can run ruby in x86_64 mode by using something like:

arch -x86_64 ruby somescript.rb

I understand it may be more desirable if it is possible to run in arm64 mode on Apple Silicon. I have compiled an updated rubycdapi23.bundle and that supports x86_64 and arm64. I have only done a basic test, and it seems to work in my test Apple Silicon machine. You can download it from:

To use it, please replace the rubycdapi23.bundle and in the official distribution with the files in the download.

Best Regards
Peter Kwan

  Re: Ruby 2.6 end of life
Posted by Deepak Vig on Aug-03-2022 22:27
Hi Peter,

I am not able to access the link:

Can you provide the updated link? I am facing the same issue.

Deepak Vig

  Re: Ruby 2.6 end of life
Posted by Peter Kwan on Aug-04-2022 02:05
Hi Deepak,

Please use the following link:

Best Regards
Peter Kwan