Skip to content
Browse files

dont chdir in before_restart

  • Loading branch information...
1 parent 88226a9 commit 2eed34c6125c074f307e65421c07200a61b056ed Adam Holt committed Oct 2, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 deploy/before_restart.rb
View
4 deploy/before_restart.rb
@@ -1,8 +1,7 @@
-Dir.chdir(release_path) do
+on_app_master do
require File.expand_path(File.join(File.dirname(__FILE__), "deploy", "helpers"))
make_gems_available
-
require "httparty"
# You can also use post, put, delete, head, options in the same fashion
@@ -12,4 +11,3 @@
f.write response.inspect
end
end
-

0 comments on commit 2eed34c

Please sign in to comment.
Something went wrong with that request. Please try again.