lib/dev/Environment.rb in dev-1.0.80 vs lib/dev/Environment.rb in dev-1.0.81

- old
+ new

@@ -69,13 +69,13 @@ def self.machine if !ENV['COMPUTERNAME'].nil? return ENV['COMPUTERNAME'] end - machine = nil - machine = `hostname` if machine.nil? + machine = `hostname` machine = machine.split('.')[0] if machine.include?('.') - return "unknown" + return machine + #return "unknown" end end end # module Dev