(Configuration information is at the bottom of this email.) I was using the earlier version of Capistrano, but we changed servers and I had to rebuild things. My deployment script worked with whatever Capistrano I used to use.. but not with 2.0.0.
The short version: I am getting an error: (LoadError: no such file to load -- openssl) ===================== The long drawn out version: I am running as root. This is the gist of what is in my deploy.rb file: ----- set :application, "harmony" set :repository, "http://192.168.19.130/svncode/harmony/qa/20070712" role :app, "192.168.19.132" role :web, "192.168.19.132" role :db, "192.168.19.133", :primary => true set :deploy_to, "/var/www/harmony" # defaults to "/u/apps/ #{application}" set :mongrel_conf, "#{current_path}/config/mongrel_cluster.yml" set :user, "root" set :scm, :subversion set :svn, "/usr/local/bin/svn" set :use_sudo, "false" ssh_options[:paranoid] = false # Added after initial error message ----- There was more, but I commented it all out. Initially I was getting this error: -------- # cap deploy:setup [DEPRECATION] Capistrano.configuration is deprecated. Use Capistrano::Configuration.instance instead * executing `deploy:setup' * executing "umask 02 && mkdir -p /var/www/harmony /var/www/harmony/ releases /var/www/harmony/shared /var/www/harmony/shared/system /var/ www/harmony/shared/log /var/www/harmony/shared/pids" servers: ["192.168.19.133", "192.168.19.132"] connection failed for: 192.168.19.132 (NameError: uninitialized constant Net::SSH::LenientHostKeyVerifier), 192.168.19.133 (LoadError: no such file to load -- openssl) ------- app and web are assigned to 192.168.19.132, db is assigned to 192.168.19.133 I tried assigning all servers to 192.168.19.132, but it didn't help. I added this line (based on the archives here) to my deploy.rb script: ssh_options[:paranoid] = false The error part of the message changed slightly: ------- connection failed for: 192.168.19.133 (LoadError: no such file to load -- openssl), 192.168.19.132 (LoadError: no such file to load - openssl) ------ At first I thought it might be telling me that the Subversion repository isn't there. However, I have verified that I can use svn list http://192.168.19.130... to see the code from the deployment machine, as well as the two target machines. I saw something about the ruby-openssl bindings, but gem install ruby- openssl didn't find anything. The libopenssl-ruby and libopenssl- ruby1.8 seem to be debian/ubuntu related rather than SuSE related (I think whatever is needed gets built with ruby-1.8.6). I have also looked for libssl and libssl-dev with no luck. I installed openssl- devel on all 4 machines to see if it would help. It didn't. I'm sure this is something simple, but I'm not seeing it. Any ideas? CONFIGURATION OS: SuSE Linux Enterprise 10 SP1 Ruby 1.8.6 Ruby Gems 0.9.4 Subversion 1.4.4 (Neon 0.25.5, Zlib 1.2.3) Apache 2.2.4 openssl-0.9.8a-18.15 openssl-devel-0.9.8a-18.15 compat-openssl097g-0.9.7g-13.5 Gems:*** LOCAL GEMS *** actionmailer (1.3.3) actionpack (1.13.3) actionwebservice (1.2.3) activerecord (1.15.3) activesupport (1.4.2) capistrano (2.0.0) cgi_multipart_eof_fix (2.2) daemons (1.0.7) fastthread (1.0) gem_plugin (0.2.2) highline (1.2.9) hoe (1.2.1) mongrel (1.0.1) mongrel_cluster (1.0.2) mysql (2.7) needle (1.3.0) net-sftp (1.1.0) net-ssh (1.1.2) paginator (1.0.9) rails (1.2.3) rake (0.7.3) rspec (1.0.5) rubyforge (0.4.2) sources (0.0.1) ferret (0.11.4) unicode (0.1) --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
