ShakaCode | ShakaCode Blog | Rails On Maui Blog | Rails | ReactJs | JavaScript | Webpack | Productivity |

No route matches [GET] "/webpack/test/.js" (ActionController::RoutingError


Hi there,

I’m trying to configure react_on_rails in an application I’m working on.

I’m using Cucumber + Capybara for integration testing using the Capybara chrome selenium driver (all tests were passing before adding react_on_rails).

The application itself is working correctly (when I use it manually), but when I type ‘cucumber’ to run all integration tests, I get the following error:

No route matches [GET] “/webpack/test/.js” (ActionController::RoutingError

which causes the suite to fail.

Any ideas on what am I missing here? I’m guessing there’s some configuration that I’m missing or something like that, but I haven’t been able to find any solutions online.


Diego Castillo.


Never mind, I was including a file that didn’t actually exist :).