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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060117/b49c314b/attachment.html
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 On Jan 17, 2006, at 12:32 PM, Dylan Stamat wrote:> 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 > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
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 :) Thank you ! On 1/17/06, Jamis Buck <jamis@37signals.com> wrote:> > 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 > > On Jan 17, 2006, at 12:32 PM, Dylan Stamat wrote: > > > 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 > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060117/1fba6c4f/attachment-0001.html