Using RVM in eshell Emacs

Using RVM in eshell emacs, I cannot install the ruby ​​version. What for? Environment: Ubuntu 9.10

/media/Work/rubyworkspace $ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] /media/Work/rubyworkspace $ rvm use 1.9.2 Using /usr/local/rvm/gems/ruby-1.9.2-p180 /media/Work/rubyworkspace $ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] 
+8
ruby emacs ubuntu rvm eshell
source share
2 answers

As far as I can tell, RVM relies on a shell, which is a "regular" UNIX shell. Choosing the right interpreter, etc. It is executed using shell variables, and they do not apply to eshell, which has its own way of setting up the material.

One solution is to use M - X term , and then use the regular shell inside it. Another is to give rvm.el a shot. I personally have not tried it either.

+13
source share

You can also write

[[-s "$ HOME / .rvm / scripts / rvm"]] && & &&& &, "$ HOME / .rvm / scripts / RVM"

on .bashrc

luck

-2
source share

All Articles