wayneeseguin/rvm — Issue #789: Capistrano integration not working
Author: denisemauldin
Created: 2012-02-28 01:53:04+00:00
State: open

Hello,

I'm using the code from the website to trust the rvmrc file.

namespace :rvm do
desc 'Trust rvmrc file'
task :trust_rvmrc do
run "rvm rvmrc trust #{current_release}"
end
end

after "deploy:update_code", "rvm:trust_rvmrc"

I have a developer site in my home directory and deploy to a different directory on the same server. The task runs after the deploy happens, but doesn't result in the rvmrc file being trusted. If I cd to the current_release in the shell that I deployed from then it will tell me that the rvmrc file is not trusted. If I say no to whether it wants me to trust the file then when I cd away and back it doesn't ask me again (though I'm not actually sure if it would ask me again?).

* executing "rvm rvmrc trust /local/www/software/test/releases/20120228014345"
servers: ["halcyon"]
[halcyon] executing command
command finished in 49ms