hi,
i am using cap , rails3 bundle and rvm. my prov is that it doesnt seem to
pick up everything from the config/deploy files (multistaging). eg:
my command is: cap staging deploy:update
--------------
staging.rb
set :deploy_to, "/home/tom/ror3/#{application}/staging"
set :rails_env, "staging"
-----------
deploy.rb
task :staging do
set :rails_env, 'staging'
end
task :production do
set :rails_env, 'production'
end
p "XXXXXXXXXXXXXXXXXXXXXX>>rails_env: #{rails_env}"
>> the folder to which it is deploying on the server is correct, but the
variable rails_env is always set to "production", even later on after
setting a default...
set :stages, %w(staging production)
set :default_stage, "staging"
require 'capistrano/ext/multistage'
p "XXXXXXXXXXXXXXXXXXXXXX>>rails_env: #{rails_env}"
>> "XXXXXXXXXXXXXXXXXXXXXXproduction"
can anyone pls help?
thx
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en