Switchtower & OpenSSL


#1

I’ve been deploying local applications into production (both linux
boxes)
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”,
and
get a prompt… meaning, it should be properly configured on both
systems.
Any ideas as to why this came up, and, how to debug ?
Thanks !

Dylan


#2

Dylan,

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

#3

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

It is all deployed now :slight_smile: Thank you !