fix bug of ruby-build installed date inspection
add DEBUG flag on build