Using RVM in eshell of Emacs

后端 未结 2 1634
旧时难觅i
旧时难觅i 2021-02-15 10:31

Using RVM in eshell of emacs, I am not able to set the ruby version. Why? Environment : Ubuntu 9.10

/media/Work/rubyworkspace $ ruby -v 
ruby 1.8.7 (2009-06-12 p         


        
2条回答
  •  生来不讨喜
    2021-02-15 11:13

    As far as I can tell, RVM relies on the shell being a "regular" UNIX shell. Selection of the correct interpreter etc. is done using shell variables and these don't apply to eshell which has it's own way of configuring stuff.

    One solution is to use M-X term and then use a regular shell inside that. The other is to give rvm.el a shot. I personally have not tried either.

提交回复
热议问题