bonsai-elasticsearch-rails - cannot require 'elasticsearch/rails/tasks/import'
rails/bundler requires the gems in the order they’re declared in the gemfile. This error occurred because I was declaring bonsai-elasticsearch-rails
above elasticsearch-rails
and elasticsearch-model
. It was therefore resolved by declaring bonsai-elasticsearch-rails
underneath the other two.