$ uname -r
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ipSort = ( ipAddressArray ) -> | |
| ipAddressArray.sort ( a, b ) -> | |
| a = a.split '.' | |
| b = b.split '.' | |
| for i of a | |
| if ( a[i] = parseInt a[i] ) < ( b[i] = parseInt b[i] ) | |
| return -1 | |
| else if a[i] > b[i] | |
| return 1 | |
| return 0 |
For MacOS Catalina, visit Install mysql2 on MacOS Catalina
Installing mysql2 gem errors on MacOS Mojave.
Make sure openssl is installed on Mac via Homebrew.