Sha256: 227b985ed4182eac3e442dde109867acacb17696b5a34c37903c1bc2f4605bde

Contents?: true

Size: 222 Bytes

Versions: 53

Compression:

Stored size: 222 Bytes

Contents

Standup.script :node do
  self.description = 'Watch remote Rails application log'
  
  def run
    scripts.shell.make_shell "tail -n 1000 -f #{scripts.webapp.app_path}/log/#{scripts.webapp.params.rails_env}.log"
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
standup-0.6.9 scripts/watchlog.rb
standup-0.6.8 scripts/watchlog.rb
standup-0.6.7 scripts/watchlog.rb
standup-0.6.6 scripts/watchlog.rb
standup-0.6.5 scripts/watchlog.rb
standup-0.6.4 scripts/watchlog.rb
standup-0.6.3 scripts/watchlog.rb
standup-0.6.2 scripts/watchlog.rb
standup-0.6.1 scripts/watchlog.rb
standup-0.6.0 scripts/watchlog.rb
standup-0.5.14 scripts/watchlog.rb
standup-0.5.13 scripts/watchlog.rb
standup-0.5.11 scripts/watchlog.rb
standup-0.5.10 scripts/watchlog.rb
standup-0.5.9 scripts/watchlog.rb
standup-0.5.8 scripts/watchlog.rb
standup-0.5.7 scripts/watchlog.rb
standup-0.5.6 scripts/watchlog.rb
standup-0.5.5 scripts/watchlog.rb
standup-0.5.4 scripts/watchlog.rb