Install Draper via Gemfile
masterTo use Draper in your Rails application, add the gem to your Gemfile. Note that as of version 4.0.0, Draper officially supports Rails 5.2 / Ruby 2.4 and later.
- Add
gem 'draper'to yourGemfile. - Run
bundle installin your application directory.
gem 'draper'