Skip to content

Commit

Permalink
When deploying to the staging environment, trust the rvmrc file.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeiklejohn committed Aug 7, 2011
1 parent 53e534b commit ad52a84
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/deploy/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,12 @@
end

after "deploy:symlink", "deploy:move_in_staging_robots_txt"

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"

0 comments on commit ad52a84

Please sign in to comment.