Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcf/rvm_ruby.vim
This plugin has been superseded by Tim Pope's rvm.vim (http://github.com/tpope/vim-rvm). Switch Ruby version at runtime in MacVim
https://github.com/jcf/rvm_ruby.vim
Last synced: 1 day ago
JSON representation
This plugin has been superseded by Tim Pope's rvm.vim (http://github.com/tpope/vim-rvm). Switch Ruby version at runtime in MacVim
- Host: GitHub
- URL: https://github.com/jcf/rvm_ruby.vim
- Owner: jcf
- Created: 2010-09-26T16:00:44.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2011-09-02T08:48:40.000Z (about 13 years ago)
- Last Synced: 2023-04-10T15:07:43.863Z (over 1 year ago)
- Language: VimL
- Homepage: http://github.com/jcf/rvm_ruby.vim
- Size: 88.9 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# No longer supported!
MacVim now supports using your RVM ruby, making this plugin somewhat
redundant. For the few remaining features you might want I'd recommend
using [Tim Pope's](https://github.com/tpope) excellent
[rvm.vim](https://github.com/tpope/vim-rvm).# rvm_ruby.vim
Until MacVim supports RVM I've written this quick little plugin that provides a
`Ruby` command.Everything gets routed to the `rvm` directory in your `$HOME` folder. It
doesn't support alternate `rvm` directories!## Installation
### Using submodules
cd ~/.vim
git submodule add git://github.com/jcf/rvm_ruby.vim.git vim/bundle/rvm_ruby.vim### Alternatively…
You can use the more traditional installation methods. Just dump the
rvm_ruby.vim file in to plugin.## Usage
Pick a version of Ruby and open a Ruby file in MacVim:
rvm use 1.9.2-p0
mvim script.rbUse the Ruby ex command:
:Ruby -v
And you'll get some nice output:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]