Switchtower & OpenSSL

I’ve been deploying local applications into production (both linux
with Switchtower, and I’ve had no problems, until now.
I just tried doing a “rake deploy”, and I get this error:

[update_code] exception while rolling back: NameError, uninitialized
constant OSSL
rake aborted!
no such file to load – openssl

Now, on both the production and development boxes, I can type “openssl”,
get a prompt… meaning, it should be properly configured on both
Any ideas as to why this came up, and, how to debug ?
Thanks !



It looks like the openssl Ruby lib isn’t installed on the box that
you are deploying from. Try doing “rake --trace deploy” and see what
gets spit out.

  • Jamis

Thanks Jamis. That was indeed it.
It was run with the --with-openssl-dir option… however, someone
the wrong path !

It is all deployed now :slight_smile: Thank you !

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs