rails run rake task in production from local code example Example: run rake task rails $ bin/rake task_name