sporkmonger / uuidtools

A simple universally unique ID generation library.
http://uuidtools.rubyforge.org/
Apache License 2.0
425 stars 63 forks source link

Windows still broken #2

Closed treeder closed 15 years ago

treeder commented 15 years ago

Here's the new fix, next time I'll just fork this and let you pull in the fix if there is anything else:

Line 415: windoze = os_platform =~ (/win/ && !(os_platform =~ /darwin/)) || os_platform =~ /w32/ if windoze script_in_path = true .....

Line 446ish: elsif windoze begin ifconfig_output = ipconfig /all mac_addresses = ifconfig_output.scan(

sporkmonger commented 15 years ago

I committed a pretty big rework of the MAC address detection code that should resolve this. Please test and verify that it works for you.

sporkmonger commented 15 years ago

I've now released this.