Added rvm support.
Fixed ipython.