Sha256: 327c6aae82e526b10ee4eabbb2add44b5a03ed7ee40d63d5739c19a071d2d905

Contents?: true

Size: 193 Bytes

Versions: 6

Compression:

Stored size: 193 Bytes

Contents

Capistrano::Configuration.instance.load do

  namespace :deploy do
    task :seed, :roles => :app do
      run "cd #{current_path} && RAILS_ENV=#{rails_env} #{rake} db:seed"
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
caploy-0.2.5 lib/caploy/recipes/seeding.rb
caploy-0.2.4 lib/caploy/recipes/seeding.rb
caploy-0.2.3 lib/caploy/recipes/seeding.rb
caploy-0.2.2 lib/caploy/recipes/seeding.rb
caploy-0.2.1 lib/caploy/recipes/seeding.rb
caploy-0.2.0 lib/caploy/recipes/seeding.rb