Using RVM with GVim (Cream): rvm command not found.

Posted by Alan Peabody on Stack Overflow See other posts from Stack Overflow or by Alan Peabody
Published on 2010-06-17T17:10:43Z Indexed on 2010/06/17 17:13 UTC
Read the original article Hit count: 472

Filed under:
|
|
|

I am trying to move to GVim(cream) as my primary editor on Ubuntu. I am using the wonderful rails.vim, however I also am using RVM.

Rvm works fine when doing things in a shell, and the ruby version I would like to use in rails.vim is the version set as default (but not the system version).

When I try to run things like

:Rgenerate migration migration_name

I get:

...
Missing Rails 2.3.8 gem.
...

If I try:

:!rvm use default

I get:

/bin/bash: rvm: command not found

Obviously cream is not using my bash profile. What can I do to remedy this and get it working? Thanks.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about bash