hi all,
        i have installed capistrano successfully into my system. I
have capfied the application and written the script deply.rb file like
this:-

set :application, "saurx"
set :repository,  "http://10.40.0.112/HCM/#{application}";
role :app, "10.40.5.35"
role :web, "10.40.5.35"
role :db,  "10.40.5.35", :primary => true
set :user, "ravikumar"
set :deploy_to, "D:\backup"
set :port_number, "3000"

namespace :deploy do

  task :start, :roles => :app do
    run "cd #{deploy_to}; ruby script/server webrick -p 3000"
  end
  after "deploy:update_code", :link_production_db
end

# database.yml task
desc "Link in the production database.yml"
task :link_production_db do
  run "ln -nfs #{deploy_to}\shared\config\database.yml #{release_path}/
config/database.yml"
end

But after executing cap deploy:setup in comman prompt .its showing the
error "connection failed for: 10.40.5.35 (Errno::EBADF: Bad file
descriptor - connect(2)" . Please tell me the soultion
thanks in advance
Ravikumar


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to