Flowdock
method

rails_command

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: Rails::Generators::Actions
rails_command(command, options = {}) public

Runs the supplied rake task (invoked with ‘rails …’)

rails_command("db:migrate")
rails_command("db:migrate", env: "production")
rails_command("gems:install", sudo: true)
rails_command("gems:install", capture: true)
Show source
Register or log in to add new notes.