detect old rvm_autolibs_flag from railsinstaller, fix #1871