• Skip to primary navigation
  • Skip to content
  • Skip to footer
Unofficial wiki for Kamal Unofficial wiki for Kamal
  • Posts
  • Categories
  • Tags

    How to run a rake task on Kamal?

    less than 1 minute read

    To run a rake task on Kamal, you can use the following command:

    Syntax:

    kamal app exec -i 'bundle exec rake <task_name>'
    

    Example:

    kamal app exec -i 'bundle exec rake users:import'
    

    Tags: Rails, Rake Task

    Updated: October 30, 2024

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    You May Also Enjoy

    Understanding Kamal Accessories: A Complete Guide

    2 minute read

    Learn how to use Kamal accessories to simplify your deployment process. This guide covers the basics, configuration, and best practices.

    Managing Secrets with Kamal - A Complete Guide

    2 minute read

    Learn how to manage secrets and environment variables with Kamal. This guide covers the basics, configuration, and best practices.

    Kamal Deployment: From Zero to Hero

    2 minute read

    Learn how to deploy your application with Kamal from scratch. This guide covers the basics, configuration, and best practices.

    Deploying Rails application with Kamal and SQLite

    2 minute read

    Deploy a Rails app that uses SQLite with Kamal: volumes for the database files, configuration and the deploy steps.

    • Twitter
    • GitHub
    • Instagram
    • ror.tips
    • Blog
    • Feed
    © 2026 Kamal Wiki. Powered by Jekyll & Minimal Mistakes.