Uninitialized constant LazyHighCharts::HighChartGlobals
excel-tricks opened this issue · comments
After copying and pasting the sample code from the ReadMe, I come across the error uninitialized constant LazyHighCharts::HighChartGlobals
when loading the page. If I comment out the code for the globals in the controller and view, the chart loads fine.
Also, if I open up a console, I can type @chart = LazyHighCharts::HighChart.new('graph')
and get a new chart just fine. However, when I try to run @global = LazyHighCharts::HighChartGlobals.new
, I get the same uninitialized constant
error.
@kntmrkm That worked great for me. I was facing the same issue, but solved it with:
gem 'lazy_high_charts', github: 'michelson/lazy_high_charts'
Strange how there's a difference between the files on Ruby Gems versus GitHub.
Hi , sorry for the inconvenience , the master brach (v.1.5.5) was not released, until today,
please update your dependences and try it out, it globals settings will work now
reopen if you find more issues on this
best!