display proper warnings when using ruby from project, fix #3032