This package integrates Emacs with the Ruby Version Manager ( rvm ).
Just drop rvm.el in your load-path and put the following in your .emacs
(require 'rvm)Usage ----- Just call the interactive function @rvm-activate-corresponding-ruby@ and rvm.el will change Emacs to use the right ruby version for the file in the current buffer. Remember that the new ruby version will be used for the whole Emacs session and not just the current file. If you want to switch to another ruby version manualy you can call @rvm-use@ instead.
(rvm-use-default) ;; use rvm's default ruby for the current Emacs session
Please note that using system-ruby is not supported in rvm.el
Got a question?
Just send me a message and I'll try to get to you as soon as possible.
Found a bug?
Please register a new issue.
- Fork rvm.el
- Create a topic branch -
git checkout -b my_branch
- Make your changes and update the History.txt file
- Push to your branch -
git push origin my_branch
- Send me a pull-request for your topic branch
- That's it!