This guide explains how to integrate the console-adapter-rails gem into your Rails application.
console-adapter-rails