rvm install: ruby installation error

后端 未结 9 2412
再見小時候
再見小時候 2020-12-30 09:48

I want to install ruby on my Linux Mint 12.

I am following this tutorial and this one.

when I run rvm install 1.9.3 I see this error:

         


        
9条回答
  •  梦毁少年i
    2020-12-30 10:19

    If you cat /usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.bz2 you will see

    404 Not Found

    404 Not Found


    nginx/1.2.1

    So, rvm doesn't know where to find ruby-1.9.3 (it seems the path is mangled around '3-.tar')

    And, 1.9.1 "compatibility" with 1.9.3 is a (not so funny) joke in Ubuntu.

    The fix for me was:

    rvm package install openssl

    rvm install ruby-1.9.2 --with-openssl-dir=/usr/share/ruby-rvm/usr

    As 1.9.2 happened matched all of my gem dependencies (e.g. nokogiri)

提交回复
热议问题