Sha256: 78a10de8e126cb2f0947de58c6c08585df1958c2b9aeb98908dbd0f21a24d230

Contents?: true

Size: 678 Bytes

Versions: 5

Compression:

Stored size: 678 Bytes

Contents

namespace :rda do
  namespace :rvm do
    rvm = Rda::Rvm.new

    desc "Setup RVM for rails application"
    task :setup do
      rvm.setup
    end

    desc "Discard RVM settings of rails application"
    task :discard do
      rvm.discard
    end
  end

  namespace :nginx do
    nginx = Rda::Nginx.new

    desc "Setup Nginx for rails application"
    task :setup => :environment do
      nginx.setup
    end

    desc "Discard Nginx settings of rails application"
    task :discard => :environment do
      nginx.discard
    end
  end

  namespace :app do
    app = Rda::App.new

    desc "Restart rails application"
    task :restart do
      app.restart
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rda-0.0.6 lib/tasks/rda_tasks.rake
rda-0.0.4 lib/tasks/rda_tasks.rake
rda-0.0.3 lib/tasks/rda_tasks.rake
rda-0.0.2 lib/tasks/rda_tasks.rake
rda-0.0.1 lib/tasks/rda_tasks.rake