railways
railways copied to clipboard
use a custom command to generate routes (for remote/containerized instances)
Currently the plugin configuration includes a setting for "Rake task name" (default "routes")
Some containerized or custom environments (e.g. where the Rails app is running in a Docker container or remote Kubernetes pod) can't run rake...
directly, since the application build exists in the container or remote instance, not on the local/host environment.
Allowing a broader custom command for retrieving the routes (matching whatever command works for the user's development environment) would enable the plugin to work for containerized or custom environments.
e.g. "Routes command" (default "rake routes")