开发者

ruby script not being called successfully with svn's post commit hook script

开发者 https://www.devze.com 2022-12-19 23:04 出处:网络
what could be the possible reason that my ruby script is not being called successfully? note that when i manually execute the post-commit script like so:

what could be the possible reason that my ruby script is not being called successfully?

note that when i manually execute the post-commit script like so:

/var/svn/eweds/hooks/post-commit /var/svn/eweds 151

works just fine, the way my ruby sript is called in the post-commit script is like this:

ruby /home/pmind/public_html/eweds/script/svn.rb "$REPOS" "$REV"

So i'm actually stumped why manually calling the hook script works but it doesn't when its actually executed when a user does an actual commit.

note that I know the hook-script is being called. my ruby sript is however not being executed successfully.

also note that the svn is started as root, the post开发者_开发百科-commit script is root too and the ruby script permissions is already set to 777.


Specify the full path to the ruby interpreter instead of simply ruby.

0

精彩评论

暂无评论...
验证码 换一张
取 消