class Rubble::Plan::Activate

Public Instance Methods

execute() click to toggle source
# File lib/rubble/command/activate.rb, line 6
def execute
    current_war = File.join(deploy_dir, 'current', target.war)
    remote.cd(target.webapps_dir)
    remote.symlink(current_war, File.basename(current_war))
end