Switching bash script for ruby script for installing cookbooks