Permalink
Browse files

Setting 'x' flag for bundled bins

  • Loading branch information...
ytaras committed Dec 26, 2012
1 parent 9936b42 commit 3cf58580127b4d27deea21cc8262170070c5d327
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/torquebox/remote_deploy_utils.rb
@@ -114,6 +114,7 @@ def app_name(archive_file)
def unjar_staged_archive(config, archive_file, app_name)
ssh_exec(config, "cd #{config.torquebox_home}/stage/#{app_name} && #{prefix(config)}jar -xf ../#{archive_file}")
+ ssh_exec(config, "cd #{config.torquebox_home}/stage/#{app_name} && chmod +x vendor/bundle/*/*/bin/*")
end
def stage_archive(config, archive_file)
@@ -263,4 +264,4 @@ def initialize
@jruby_home = "#{@torquebox_home}/jruby"
end
end
-end
+end

0 comments on commit 3cf5858

Please sign in to comment.