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