method

execute_command

rails latest stable - Class: Rails::Generators::Actions
execute_command(executor, command, options = {})
private

Runs the supplied command using either “rake …” or “rails …” based on the executor parameter provided.