react-rails: Gem does not work inside rails engine
When the react-rails gem is included inside a rails engine I get the error
unknown file react
inside my application.js manifest.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 24 (1 by maintainers)
I think it might be related to this issue: https://github.com/facebook/react-rails/issues/11
Try setting
config.react.variant = :developmentinconfig/environments/development.rb(and the corresponding in production, etc) and see if that helps.