Which Ruby version am I really running?

前端 未结 4 1104
[愿得一人]
[愿得一人] 2020-12-10 10:39

I\'m running Ubuntu 12.04 LTS, and installed Ruby via RVM.

The problem is, when I type ruby -v into the terminal, it says that my Ruby version is

4条回答
  •  执念已碎
    2020-12-10 11:18

    Run this command:

    rvm get stable --auto-dotfiles
    

    and make sure to read all the output. RVM will tell you if something is wrong, which in your case might be because GEM_HOME is set to something different then PATH.

提交回复
热议问题