How to Solve Could not find gem 'rmagick' in locally installed gems

Solution 1: install the 'rmagick' gem 

To install rmagick with gem, Run the following command.

gem install rmagick

Solution 1: install missing gems

To install missing gems, Run the following command.

bundle install

 

For more information:
rmagick Documentation