Permalink
Browse files

Trust rvmrc everywhere

  • Loading branch information...
1 parent 3d99e97 commit 67d5a51ec4cb719b3c4c245270785c210719a9ff @qrush qrush committed Nov 29, 2011
Showing with 9 additions and 9 deletions.
  1. +9 −0 config/deploy.rb
  2. +0 −9 config/deploy/staging.rb
View
@@ -30,3 +30,12 @@
after "deploy", "deploy:cleanup"
after "deploy:symlink", "deploy:move_in_database_yml", "deploy:move_in_secret_settings"
before "bundle:install", "deploy:set_config_for_pg_gem"
+
+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"
View
@@ -13,12 +13,3 @@
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 67d5a51

Please sign in to comment.