install omniauth.rb during deploy
authorTom Clegg <tom@clinicalfuture.com>
Thu, 24 Jan 2013 02:50:37 +0000 (18:50 -0800)
committerTom Clegg <tom@clinicalfuture.com>
Thu, 24 Jan 2013 02:50:37 +0000 (18:50 -0800)
config/deploy.rb

index 171ee3495353d18bd577c88b4f7e20d1867bc8b4..e75a8c9f90d54eaa871148ca925dfeab93d6f263 100644 (file)
@@ -38,6 +38,7 @@ namespace :deploy do
     run "cp /home/passenger/orvos-server/database.yml #{release_path}/config/database.yml"
     run "cp /home/passenger/orvos-server/secret_token.rb #{release_path}/config/initializers/secret_token.rb"
     run "cp /home/passenger/orvos-server/production.rb #{release_path}/config/environments/production.rb"
+    run "cp /home/passenger/orvos-server/omniauth.rb #{release_path}/config/initializers/omniauth.rb"
     # Ensure correct ownership of a few files
     run "chown www-data:www-data #{release_path}/config/environment.rb"
     run "chown www-data:www-data #{release_path}/config.ru"