Sha256: 0070897132a3ae25aca459de1ca7029b45f73842042f88ca8bb2e5bd12754e4e

Contents?: true

Size: 241 Bytes

Versions: 43

Compression:

Stored size: 241 Bytes

Contents

Standup.script :node do
  self.description = 'Run remote Rake task'
  
  def run
    scripts.shell.make_shell "cd #{scripts.webapp.app_path} && RAILS_ENV=#{scripts.webapp.params.rails_env} sudo -u www-data rake #{ARGV.join(' ')}" 
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
standup-0.3.20 scripts/rake.rb
standup-0.3.19 scripts/rake.rb
standup-0.3.18 scripts/rake.rb