Sha256: f92c724d768f2918fe26acbfde5291c3aebff3e7c969673b5dc7091224af44d9

Contents?: true

Size: 268 Bytes

Versions: 7

Compression:

Stored size: 268 Bytes

Contents

namespace :deploy do
  desc 'Run rake task'
  task :rake do
    on roles(:app) do
      ask(:rake_task, 'Type a rake task (db:seed)')

      within release_path do
        execute :rake, "#{fetch(:rake_task)}", "RAILS_ENV=#{fetch(:stage)}"
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
teleporter-2.0.11 lib/generators/teleport/templates/capistrano/tasks/rake.rake
teleporter-2.0.10 lib/generators/teleport/templates/capistrano/tasks/rake.rake
teleporter-2.0.9 lib/generators/teleport/templates/capistrano/tasks/rake.rake
teleporter-2.0.8 lib/generators/teleport/templates/capistrano/tasks/rake.rake
teleporter-2.0.7 lib/generators/teleport/templates/capistrano/tasks/rake.rake
teleporter-2.0.6 lib/generators/teleport/templates/capistrano/tasks/rake.rake
teleporter-2.0.4 lib/generators/teleport/templates/capistrano/tasks/rake.rake