Switchtower deploy error

I have switchtower running fine on my Mac mini using Locomotive, which
is my main dev box. I also have a Debian Linux box. I also use it for
development. I whenever I do a rake deploy from my linux box I get an
error:

loading configuration
/usr/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task deploy
transaction: start
executing task update_code
querying latest revision…
Password:
executing “if [[ ! -d /www/tennis/releases/20060210103521 ]]; then\n
svn co -q -r143
svn+ssh://svn.example.com/var/lib/svn/rails/tennis/trunk
/www/tennis/releases/20060210103521 &&\n echo date +\"%Y-%m-%d %H:%M:%S\" $USER 143 20060210103521 >>
/www/tennis/revisions.log && chmod 666 /www/tennis/revisions.log;\n
fi”
servers: [“example.com”]
[update_code] transaction: rollback
[update_code] rolling back
executing “rm -rf /www/tennis/releases/20060210103521”
servers: [“example.com”]
[update_code] exception while rolling back: NameError, uninitialized
constant OSSL
rake aborted!
no such file to load – openssl

Any ideas?

Jeroen

Jeroen H. wrote:

I have switchtower running fine on my Mac mini using Locomotive, which
is my main dev box. I also have a Debian Linux box. I also use it for
development. I whenever I do a rake deploy from my linux box I get an
error:

no such file to load – openssl

Fixed it by installing libopenssl-ruby

So how does this work, what’s the order of things?
Does it do a checkout from the development server and copy that to the
production server, or does it login to the production server first and
checkout a copy from there?

Jeroen

So how does this work, what’s the order of things?
Does it do a checkout from the development server and copy that to the
production server, or does it login to the production server first and
checkout a copy from there?

Jeroen


It logs in to prod, and do all the stuff from there

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)