-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadError react
in production mode
#123
Comments
https://github.com/olegantonyan/test_reactive_record - this is a fresh rails4 app with this issue.
Any ideas will be very helpful. I cannot solve this by myself |
Hey, I solved the issue with @olegantonyan on the gitter.
I will update the generator to take that into account shortly. Important to note, the first rake command in production takes a long time to solve... I'm not sure why, but that does not seem to be blocking for the moment. |
This issue was moved to ruby-hyperloop/hyper-react#123 |
Whe I run my app in production mode (either on localhost with -e production or on a real server) I get an error:
If I remove
require 'react'
fromapp/react/components.rb
than I get another error:And so forth. So, obviously something is going wrong here.
With
config.eager_load = false
inproduction.rb
this error disappear, but this is not a solution.In development everything is fine.
The text was updated successfully, but these errors were encountered: