Forum: Ruby on Rails switchtower deploy error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B9a732fc30c32098347a0177c75ee27b?d=identicon&s=25 Jeroen Houben (Guest)
on 2006-02-10 11:40
(Received via mailing list)
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
B9a732fc30c32098347a0177c75ee27b?d=identicon&s=25 Jeroen Houben (Guest)
on 2006-02-10 12:43
(Received via mailing list)
Jeroen Houben 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
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 Mikkel Bruun (Guest)
on 2006-02-10 13:18
(Received via mailing list)
>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 Bruun

www.strongside.dk    - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk      - Buy Old Stuff!(DK)
This topic is locked and can not be replied to.