update nave and rvm init script to include them before checking