Attempting to fix some Windows issues and update deprecated library calls.

This commit is contained in:
Bob Aman committed 2011-11-16 11:44:55 +03:00
1 parent ba38697528
commit e0afbdaf05
2 files changed
+5 -6

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ module Google
# TODO(bobaman)
# Confirm that all of these Windows environments actually have access
# to the `ver` command.
`ver`.sub(/\s*\[Version\s*/, '/').sub(']', '')
`ver`.sub(/\s*\[Version\s*/, '/').sub(']', '').strip
elsif RUBY_PLATFORM =~ /darwin/i
"Mac OS X/#{`sw_vers -productVersion`}"
else