use openssl from homebrew for ruby 2

this is just a starting point for a discussion of fixing #343

i am not experienced with bash scripting, so it would be awesome if you could give me some feedback of how to implement this kind of stuff.