开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜