Changed order to stop rvm complaining about the PATH.