Skip to content

Instantly share code, notes, and snippets.

@rys
Created March 30, 2013 00:47
Show Gist options
  • Save rys/5274725 to your computer and use it in GitHub Desktop.
Save rys/5274725 to your computer and use it in GitHub Desktop.
__rvm_package_extract error (FreeBSD 9.1, 1.9.3)
[rys@bsd91test ~]$ rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: freebsd/9.1-RELEASE/x86_64/ruby-1.9.3-p392.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for freebsd, might require sudo password.
Installing Ruby from source to: /home/rys/.rvm/rubies/ruby-1.9.3-p392, this may take a while depending on your cpu(s)...
ruby-1.9.3-p392 - #downloading ruby-1.9.3-p392, this may take a while depending on your connection...
ruby-1.9.3-p392 - #extracting ruby-1.9.3-p392 to /home/rys/.rvm/src/ruby-1.9.3-p392.....
Error running '__rvm_package_extract /home/rys/.rvm/archives/ruby-1.9.3-p392.tar.bz2 /home/rys/.rvm/tmp/rvm_src_51570',
please read /home/rys/.rvm/log/ruby-1.9.3-p392/extract.log
There has been an error while trying to extract the source. Halting the installation.
There has been an error fetching the ruby interpreter. Halting the installation.
[rys@bsd91test ~]$ cat .rvm/log/ruby-1.9.3-p392/extract.log
[2013-03-30 00:46:25] __rvm_package_extract
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
mktemp [-d] [-q] [-u] -t prefix
mkdir: : No such file or directory
tar: could not chdir to ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment