Open egvibar opened 2 years ago
Thank you for your question. What is your environment?
Thank you for your response. I have just installed Rust on my MacOS High Sierra (10.13.2). I am still fairly new to this but I have heard a lot of good things about Frum.
You can't install the other versions similarly?
Thank you for responding. I did make an attempt to install version 2.2.6. I received the following error message:==> Downloading https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.xz
==> Extracting ruby-2.2.6.tar.xz
error: Can't extract the file: IoError(Custom { kind: Other, error: TarError { desc: "failed to unpack /Users/userName/.frum/versions/.downloads/.tmp6brXY6/ruby-2.2.6/test/rexml/data/much_ado.xml
", io: Custom { kind: Other, error: TarError { desc: "failed to unpack ruby-2.2.6/test/rexml/data/much_ado.xml
into /Users/userName/.frum/versions/.downloads/.tmp6brXY6/ruby-2.2.6/test/rexml/data/much_ado.xml
", io: Custom { kind: Other, error: reqwest::Error { kind: Decode, source: TimedOut } } } } } })
I also attempted to install version 3.0.1. I received the following message:
==> Downloading https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.1.tar.xz error: error sending request for url (https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.1.tar.xz): operation timed out
I have no idea what I missed. But I am still trying. Thank you for your patience.
I was able to install Ruby 2.7.4 manually by compiling its source code. Frum could not install this on my system; it only gave me this message: error: No such file or directory (os error 2). Also, I could not manually compile version 3.0.2.
Hmm. That is weird. Did you try removing $HOME/.frum
and then installing 3.0.2 already?
If it doesn't work, could you try removing $HOME/.frum/aliases/default
?
I haven't tried removing $HOME/.frum and installing 3.0.2 yet. But the "aliases" folder in $HOME/.frum/aliases/default is empty and does not contain the "default" folder you indicated.
.frum contains 2 folders and both are empty: "aliases", "verisons".
will frum be able to fulfill all the dependencies of every Ruby version it installs?
.frum contains 2 folders and both are empty: "aliases", "verisons".
frum uses symlinks to switch Ruby versions, so aliases
and default
are always empty. If they have symlinks to not found directories, frum causes errors.
will frum be able to fulfill all the dependencies of every Ruby version it installs?
Yes.
@egvibar some issue here, after some time to read source code, maybe the problem is your did not install openssl with homebrew, if you did not --with-openssl-dir when you install ruby with frum install command, frum will try to find openssl with brew command
Frum gave me the following error when I attempted to install Ruby 3.0.2:
==> Downloading https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.2.tar.xz ==> Extracting ruby-3.0.2.tar.xz ==> Building Ruby 3.0.2 error: No such file or directory (os error 2)
Could you please tell me how to solve this? Thanks for your patience.