Lets walk through all potential pitfalls (non-highcharts solution)
GEMFILE:
make sure to run bundle install afterwards
include 'chartkick'
APPLICATION.JS:
in your config/environments/development.rb
you might have set config.assets.compress = true
and config.assets.compile = true
and config.serve_static_files = true
, which would mean you would need to recompile your assets to see changes in development.
//= require chartkick
HAML:
javascript include line begins '=' not '-'. @report.data should be active record relation
= javascript_include_tag '//www.google.com/jsapi', 'chartkick'
= pie_chart @report.data
SERVER:
If using spring, try spring stop
. Restart your rails server. Force reload page cmd+shift+R
or ctrl+shift+R
(not all browsers can do this)