I want to use a variable in deploy.rb that is defined in ./deploy/stage.rb

./deploy.rb:
role :app, "#{application_domain}" #mongrel server
role :web, "#{application_domain}" #apache server "qa.example.net"
role :db,  "#{application_domain}", :primary => true #database server
(where migrations are run)

./deploy/stage.rb
set :application_domain, "#{application}" #example.com

./deploy/qa.rb
set rails_env, 'qa'
set :application_domain, "#{rails_env}.#{application}" #example.com


However variables defined in ./deploy/stage.rb files aren't accessible
from the general ./deploy.rb script.

-- 
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name

--~--~---------~--~----~------------~-------~--~----~
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