Sha256: 23d3acf5693b7bc191bfdae9d0528d80bbf4e59ba8426c01c6c654b3e3ea2c3d
Contents?: true
Size: 293 Bytes
Versions: 4
Compression:
Stored size: 293 Bytes
Contents
module Ec2onrails module Utils def self.run(command) result = system command raise("error: #{$?}") unless result end def self.rails_env `/usr/local/ec2onrails/bin/rails_env`.strip end def self.hostname `hostname -s`.strip end end end
Version data entries
4 entries across 4 versions & 3 rubygems