From 5e3601d558b132f79898f198e76dabb0809b1cce Mon Sep 17 00:00:00 2001 From: Nico Date: Tue, 8 Jan 2013 22:56:48 +0100 Subject: [PATCH] =?UTF-8?q?notes=20&=20adh=C3=A9rents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 2 +- config/deploy.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index b1bd4f6..c999e37 100644 --- a/Gemfile +++ b/Gemfile @@ -47,7 +47,7 @@ gem 'haml' gem 'acts_as_tree' -#gem "pg" +gem "pg" gem "devise" gem "cancan" diff --git a/config/deploy.rb b/config/deploy.rb index 2968a65..4161bd1 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -92,7 +92,7 @@ set :application, 'pic_vert_app' sudo "service #{application} restart" end task :migrate do - run "cd #{deploy_to}current && rake db:migrate RAILS_ENV=#{rails_env}" + run "cd #{deploy_to}current && bundle exec rake db:migrate RAILS_ENV=#{rails_env}" end