Sha256: d7e51f9992ea20c727d0d23ed696f2fb5c6811511d19a37f9268e9d4af27942a

Contents?: true

Size: 272 Bytes

Versions: 9

Compression:

Stored size: 272 Bytes

Contents

Capistrano::Configuration.instance.load do
  namespace :db do
    desc "Load seed data into database"
    task :seed_fu, :roles => :db, :only => { :primary => true } do
      run "cd #{release_path} && bundle exec rake RAILS_ENV=#{rails_env} db:seed_fu"
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
discourse-seed-fu-2.3.12 lib/seed-fu/capistrano.rb
seed-fu-2.3.9 lib/seed-fu/capistrano.rb
seed-fu-2.3.7 lib/seed-fu/capistrano.rb
seed-fu-2.3.6 lib/seed-fu/capistrano.rb
seed-fu-2.3.5 lib/seed-fu/capistrano.rb
seed-fu-2.3.4 lib/seed-fu/capistrano.rb
seed-fu-2.3.3 lib/seed-fu/capistrano.rb
seed-fu-2.3.2 lib/seed-fu/capistrano.rb
seed-fu-2.3.1 lib/seed-fu/capistrano.rb