# Adding Chartkick to a Rails 6 App

DevFeed: [Adding Chartkick to a Rails 6 App](<https://devfeed.tech/articles/adding-chartkick-to-a-rails-6-app-things-i-always-forget-28269.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/rails/2020/04/02/adding-chartkick-to-a-rails-6-app.html>)

Author: Fuzzygroup

Published: 2020-04-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Rails](<https://devfeed.tech/topics/rails.md>), [App](<https://devfeed.tech/topics/app.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [chartkick](<https://devfeed.tech/tags/chartkick.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [gotchas](<https://devfeed.tech/tags/gotchas.md>), [install](<https://devfeed.tech/tags/install.md>), [js](<https://devfeed.tech/tags/js.md>), [rails](<https://devfeed.tech/tags/rails.md>)

## AI overview

A tutorial on adding Chartkick to a Rails 6 application. It covers the Gemfile entry, bundle and Yarn commands, and the required application.js imports for Chartkick and chart.js.

## Source excerpt

Chartkick is the charting engine that I've used for a bunch of years. When you use Chartkick on a Rails 6 app, here are some gotchas: Gemfile gem 'chartkick' Command Line bundle install yarn add chartkick chart.js yarn install --check-files Add to application.js require("chartkick") require("chart.js")