Add Pieces.js assets, helpers and shortcuts.
Add this line to your application's Gemfile:
gem 'pieces-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pieces-rails