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.6.9 scripts/rake.rb
standup-0.6.8 scripts/rake.rb
standup-0.6.7 scripts/rake.rb
standup-0.6.6 scripts/rake.rb
standup-0.6.5 scripts/rake.rb
standup-0.6.4 scripts/rake.rb
standup-0.6.3 scripts/rake.rb
standup-0.6.2 scripts/rake.rb
standup-0.6.1 scripts/rake.rb
standup-0.6.0 scripts/rake.rb
standup-0.5.14 scripts/rake.rb
standup-0.5.13 scripts/rake.rb
standup-0.5.11 scripts/rake.rb
standup-0.5.10 scripts/rake.rb
standup-0.5.9 scripts/rake.rb
standup-0.5.8 scripts/rake.rb
standup-0.5.7 scripts/rake.rb
standup-0.5.6 scripts/rake.rb
standup-0.5.5 scripts/rake.rb
standup-0.5.4 scripts/rake.rb