Using the proper RVM function for compatibility. Fixes #1.