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
| #!/bin/bash | |
| if type gem > /dev/null 2>&1; then | |
| echo "ruby found" | |
| else | |
| sudo yum install centos-release-scl | |
| sudo yum install ruby200 | |
| scl enable ruby200 bash | |
| fi |
NewerOlder