axlsx icon indicating copy to clipboard operation
axlsx copied to clipboard

rich_text.rb missing from gem

Open smanolloff opened this issue 10 years ago • 5 comments

Steps to reproduce:

  1. Install axlsx gem
  2. Run the last example (for rich_text)

It fails due to an unitialized constant RichText.

A quick compare shows that the following files are present in git, but missing in the gem: lib//axlsx/drawing/bubble_chart.rb lib//axlsx/drawing/bubble_series.rb lib//axlsx/util/string.rb lib//axlsx/workbook/workbook_view.rb lib//axlsx/workbook/workbook_views.rb lib//axlsx/workbook/worksheet/rich_text.rb lib//axlsx/workbook/worksheet/rich_text_run.rb

smanolloff avatar Jul 02 '14 12:07 smanolloff

:+1:

Axlsx::RichText.new
NameError: uninitialized constant Axlsx::RichText

leckylao avatar Sep 17 '14 05:09 leckylao

The current gem release is version 2.0.1 which is based on commit 46a17e4b3fe0531ac6b2e48f818a982a86f538e4.

The files you're looking for were added after this release, you can see the differences between the gem state and the current state by looking at https://github.com/randym/axlsx/compare/46a17e4b3fe0531ac6b2e48f818a982a86f538e4...master

JonathanTron avatar Sep 17 '14 06:09 JonathanTron

I've just released a pre-release version. (v2.1.0.pre) Please test it and report if you have any problems

jurriaan avatar Mar 14 '15 15:03 jurriaan

@jurriaan How can we install the v2.1.0.pre gem?

mydoghasworms avatar Aug 19 '19 07:08 mydoghasworms

Never mind. Got it with gem install axlsx -v 2.1.0.pre

mydoghasworms avatar Aug 19 '19 07:08 mydoghasworms