rvm install: ruby installation error

后端 未结 9 2415
再見小時候
再見小時候 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条回答
  • 2020-12-30 10:09

    have you tried this answer Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v ?

    it seams you use "apt-get broken rvm" make sure you follow the above answer.

    0 讨论(0)
  • 2020-12-30 10:18

    I solved my problem simply doing:

    rvm get head rvm reload and rvm install 1.9.3

    0 讨论(0)
  • 2020-12-30 10:19

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

    <html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.2.1</center> </body>

    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)

    0 讨论(0)
提交回复
热议问题