Sha256: 754e8a21f70d7470cd3ee2a729d755011dff64cf8bcd1f040381f46bf57df6bf

Contents?: true

Size: 258 Bytes

Versions: 21

Compression:

Stored size: 258 Bytes

Contents

namespace :deploy do
  namespace :rails do
    task :seed do
      on roles :app do
        within current_path do
          with rails_env: "#{fetch(:rails_env)}" do
            execute :rake, "db:seed"
          end
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
capistrano-unformatt-1.14 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.13 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.12 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.11 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.10 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.9 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.8 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.7 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.6 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.5 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.4 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.3 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.1 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.0 lib/capistrano/tasks/rails.rake
capistrano-unformatt-0.7 lib/capistrano/tasks/rails.rake
capistrano-unformatt-0.6 lib/capistrano/tasks/rails.rake
capistrano-unformatt-0.5 lib/capistrano/tasks/rails.rake
capistrano-unformatt-0.4 lib/capistrano/tasks/rails.rake
capistrano-unformatt-0.3 lib/capistrano/tasks/rails.rake
capistrano-unformatt-0.2 lib/capistrano/tasks/rails.rake