Sha256: e92d362dd9ccf1010042f46fa514b855e56fbb1d19e7a8825b0a9c6398cdb5cc
Contents?: true
Size: 481 Bytes
Versions: 4
Compression:
Stored size: 481 Bytes
Contents
require 'bundler' Bundler.setup(:default, :development) require 'heroku-commander' logger = Logger.new($stdout) logger.level = Logger::DEBUG commander = Heroku::Commander.new({ :logger => logger }) uname = commander.run "uname -a", { :detached => true } logger.info "Heroku dyno is a #{uname.join('\n')}." files = [] commander.run "ls -1", { :detached => true } do |line| files << line end logger.info "The Heroku file system has #{files.count} file(s): #{files.join(', ')}"
Version data entries
4 entries across 4 versions & 1 rubygems