Method: Inploy::Templates::Rails3Push#remote_update

Defined in:
lib/inploy/templates/rails3_push.rb

#remote_updateObject



23
24
25
26
27
28
29
30
# File 'lib/inploy/templates/rails3_push.rb', line 23

def remote_update
  push_code

  command = []
  command << "cd #{application_path}"
  command << "rake inploy:local:update RAILS_ENV=#{environment} environment=#{environment}#{skip_steps_cmd}"
  remote_run command.join(' && ')
end