-
- Notifications
You must be signed in to change notification settings - Fork 638
Closed
Description
(Similar to issue as rails/sprockets-rails#237)
I'm running Rails 5 beta, and found this issue.
When running in Rails production env with config.assets.compile = false, the react_component call in a view blows up. The root cause is because the following line blows up due to Rails.application.assets being nil:
This is apparently new behavior in Sprockets 3 (see link to sprockets-rails issue above), which is why the example app (which uses sprockets-rails 2/Rails 4) still works.
Thanks,
-- Chad