add warning for RUBYLIB, fix #1675