RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

Run Rake tasks

Last modified: 09 August 2022

Run a task: Tools | Run Rake Task Ctrl+Alt+R

Rake is a popular task runner for Ruby and Rails applications. For example, Rails provides the predefined Rake tasks for creating databases, running migrations, and performing tests. You can also create custom tasks to automate specific actions - run code analysis tools, backup databases, and so on.

RubyMine provides a convenient way to run, debug, and reload Rake tasks. Moreover, you can use run/debug configurations to run tasks with specific parameters: you can pass task arguments, specify environment variables, and so on.