use rvm to manage ruby versions within emacs
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
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) (rvm-use-default) ;; use rvm's default ruby for the current Emacs session
Just call the interactive function
rvm-activate-corresponding-rubyand 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-activate-ruby-forto activate for a specific path.
Please note that using system-ruby is not supported in rvm.el
RVM will by default print messages when switching environment. You can disable all messages by setting
If you want to read what people have written about rvm.el, this section links you to the relevant blog posts:
Just send me a message and I'll try to get to you as soon as possible.
Please register a new issue.
git checkout -b my_branch
git push origin my_branch