RVM installed by Ruby not working?

前端 未结 10 1257
不知归路
不知归路 2020-12-04 23:36

I installed RVM using the single instruction mentioned at the RVM website (using git).

Then I installed Ruby version 1.9.2 and 1.8.7 using:

rvm insta         


        
10条回答
  •  醉梦人生
    2020-12-05 00:41

    I had similar problem (using Ubuntu 13.10) to solve it

    $ source .rvm/scripts/rvm 
    

    and for long term

    $ echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
    
    $ ruby -v
    
    
    The program 'ruby' can be found in the following packages:
     * ruby1.8
     * ruby1.9.1
    Try: sudo apt-get install 
    
    $ source .rvm/scripts/rvm
    
    $ ruby -v
    
    ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
    

提交回复
热议问题