It looks like their bash snippet for generating a certificate can be replaced with the `openssl_x509` resource from this openssl cookbook [0].
I'm surprised running `gem update --system` is working without specifying the path [1].
It looks like their bash snippet for generating a certificate can be replaced with the `openssl_x509` resource from this openssl cookbook [0].
I'm surprised running `gem update --system` is working without specifying the path [1].
The openssl_x509 resource looks interesting. I'm going to take a look at it. Thanks for the link!
The bash resource works because it uses the system path by default. We actually no longer use that code, but rather install Ruby PPA packages now:
https://github.com/elm-city-craftworks/practicing-ruby-cookb...
-Mathias
Thanks for the feedback, I've emailed Mathias to let him know about your suggestions.
Bug reports, suggestions for improvements, and pull requests related to the cookbook can also be filed directly here: https://github.com/elm-city-craftworks/practicing-ruby-cookb...
Since we've been seeing a lot of traffic from this article, I'd be happy to also answer questions here that HN folks might have about how Practicing Ruby works!