Error Running Bunzip2 Rvm
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us archives path '/usr/local/rvm/archives' not writable, aborting. Learn more about Stack Overflow the company Business Learn more about hiring developers there was an error(23) or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack
-bash: /root/.rvm/scripts/rvm: No Such File Or Directory
Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up rvm install: ruby installation error up vote
-bash: /.rvm/scripts/initialize: No Such File Or Directory
7 down vote favorite 4 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: Installing Ruby from source to: /usr/share/ruby-rvm/rubies/ruby-1.9.3, this may take a while depending on your cpu(s)... ruby-1.9.3 - #fetching ruby-1.9.3 - #extracting ruby-1.9.3- to /usr/share/ruby-rvm/src/ruby-1.9.3 ERROR: Error running 'bunzip2 < '/usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.bz2' | tar xf - rvm for windows -C /usr/share/ruby-rvm/tmp/rvm_src_4428', please read /usr/share/ruby-rvm/log/ruby-1.9.3/extract.log ERROR: There has been an error while trying to extract the source. Halting the installation. ERROR: There has been an error fetching the ruby interpreter. Halting the installation. How to fix it? EDIT: @ka8725 bunzip2 is installed. When i run cat /usr/share/ruby-rvm/log/ruby-1.9.3/extract.log I see [2012-02-25 01:11:55] bunzip2 < '/usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.bz2' | tar xf - -C /usr/share/ruby-rvm/tmp/rvm_src_32604 bunzip2: (stdin) is not a bzip2 file. tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors [2012-02-25 01:12:16] bunzip2 < '/usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.bz2' | tar xf - -C /usr/share/ruby-rvm/tmp/rvm_src_32740 bunzip2: (stdin) is not a bzip2 file. tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors [2012-02-25 01:13:50] bunzip2 < '/usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.bz2' | tar xf - -C /usr/share/ruby-rvm/tmp/rvm_src_383 bunzip2: (stdin) is not a bzip2 file. tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors [2012-02-25 01:13:52] bunzip2 < '/usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.bz2' | tar xf - -C /usr/share/ruby-rvm/tmp/rvm_src_474 bunzip2: (stdin) is not a bzip2 file. tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors [2012-02-25 01:13:58] bunzip2 < '/usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn
Uninstall Rvm
more about Stack Overflow the company Business Learn more about hiring developers or install rvm ubuntu posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow rvm install ruby Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Install ruby-rvm on Ubuntu 11.10 with ruby 1.9.3 up http://stackoverflow.com/questions/9439502/rvm-install-ruby-installation-error vote 7 down vote favorite 1 rvm installs properly through: sudo apt-get install ruby-rvm When I try to install ruby 1.9.3 I get these errors? anthony@SnakeDoc:~$ rvm install 1.9.3 mkdir: cannot create directory `/usr/share/ruby-rvm/gems/ruby-1.9.3-p0': Permission denied Installing Ruby from source to: /usr/share/ruby-rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)... ruby-1.9.3-p0 - #fetching ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /usr/share/ruby-rvm/src/ruby-1.9.3-p0 /usr/share/ruby-rvm/scripts/functions/utility: line 142: /usr/share/ruby-rvm/log/ruby- 1.9.3-p0/extract.log: Permission denied /usr/share/ruby-rvm/scripts/functions/utility: http://stackoverflow.com/questions/9072726/install-ruby-rvm-on-ubuntu-11-10-with-ruby-1-9-3 line 148: /usr/share/ruby-rvm/log/ruby- 1.9.3-p0/extract.log: Permission denied ERROR: Error running 'bunzip2 < '/usr/share/ruby-rvm/archives/ruby-1.9.3-p0.tar.bz2' | tar xf - -C /usr/share/ruby-rvm/tmp/rvm_src_23435', please read /usr/share/ruby- rvm/log/ruby-1.9.3-p0/extract.log ERROR: There has been an error while trying to extract the source. Halting the installation. ERROR: There has been an error fetching the ruby interpreter. Halting the installation. I tried to chmod the directories where I get access denied but it does not fix the problem. Any suggestions? ruby rvm share|improve this question asked Jan 31 '12 at 0:16 penner 1,63411437 1 as for the question being closed - it's real problem that users are facing, it is related to the wrong way Ubuntu installs RVM and it is not "off topic" –mpapis Feb 11 '12 at 16:56 1 voted to reopen since this just happened to me... seems like the people in the ruby tag are being heavy handed lately –jcollum Apr 22 '12 at 21:23 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted Please use this answer: Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v Your question is not duplicate, but the answer is the same. share|improve this answer answered Jan 31 '12
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
it was time for me to install 1.9.3. I ran into two errors before I got a successful install, so here's how google searches helped me fix them. 1. When I first typed $ rvm install ruby-1.9.3-p194, I got this error, which ended like:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
ERROR: There was an error, please check /Users/judytuna/.rvm/log/ruby-1.9.3-p194/*.log
ERROR: There has been an error while trying to fetch the source.
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.
Wut? Can't download? Is there something wrong with my curl? Do I have to pull in a bundle of certificates? Initial searching suggested downloading certificates, but I kept looking for a simpler solution. Finally, this answer on stackoverflow provided a fix that was easy to try, and I knew it wouldn't break anything-it suggested updating rvm, which has the new certificates, and pointed out that rvm doesn't live at beginrescueend.com anymore. The command to update rvm is also viewable at rvm.io. It is as follows:
$ curl -L https://get.rvm.io | bash -s stable
After that, rvm was able to download the ruby I wanted! 2. So the installation progressed like so, until…
judymbp:HelloRubyTuesdays judytuna$ rvm install ruby-1.9.3-p194
Installing Ruby from source to: /Users/judytuna/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s).