Sha256: 636f9b20f49c187f9f94c38d83f57fdb5a514d72c58c0469b4cbb8580b2d784d
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
require 'bundler' Bundler.setup(:default, :development) require 'heroku-commander' logger = Logger.new($stdout) logger.level = Logger::INFO uname = Heroku::Executor.run "uname -a", { :logger => logger } logger.info "Local system is #{uname.join('\n')}." files = [] Heroku::Executor.run "ls -1", { :logger => logger } do |line| files << line end logger.info "Local file system has #{files.count} file(s): #{files.join(', ')}"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
heroku-commander-0.3.1 | examples/executor-run.rb |
heroku-commander-0.3.0 | examples/executor-run.rb |
heroku-commander-0.2.0 | examples/executor-run.rb |