You can find how to setup js-packer-rails gem with Rails here What is included in this Pull Request: use gem js-packer-rails only one JS bundle file base webpack setup base babel setup base react app setup