Replies: 3 comments
-
Thank you for this report. We have a bug where we will sometimes suggest looking at a log file which doesn't exist. We will get this fixed up. The best thing to do to check what is happening is to run the CLI with the Since there was an error during the Ruby install, I would try this and check that log file:
(The Are you still having an issue with the installation of Ruby 3.3.0 via Qlty? |
Beta Was this translation helpful? Give feedback.
-
One more thing... We have two ways that the CLI can attempt to install Ruby: by compiling it from source or download a pre-compiled binary install. By default we use the pre-compiled download strategy. The advantage of downloading pre-compiled binaries is speed, but it can be disabled by setting an env var:
If you are still having issues with Ruby installation, changing this environment variable feature flag would be a good thing to try. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your advice. An error occurred when I executed the following command. qlty install --debug
❌ Error installing [email protected].
See more: /Users/nk/.qlty/cache/tools/ruby/3.3.0-ce8ae37c7b0b-install.log
Caused by:
Failed to get version for package "ruby": (command sh -c "ruby --version" exited with code 0)
ls /Users/nk/.qlty/cache/tools/ruby/3.3.0-ce8ae37c7b0b-install.log
ls: /Users/nk/.qlty/cache/tools/ruby/3.3.0-ce8ae37c7b0b-install.log: No such file or directory I executed the following command and it was successful. export QLTY_FEATURE_RUBY_BINARY_INSTALL=off
qlty install --debug Looking forward to the log file fix. |
Beta Was this translation helpful? Give feedback.
-
Question
When running
qlty init
in the following environment, a ruby installation error occurs.The error log file that is output at that time cannot be found.
Environment:
How to reproduce (optional)
qlty init
Expected behavior (optional)
No response
CLI Version
qlty 0.458.0 (d0c76b8)
Information about Qlty configuration and environment (optional)
// Add your qlty.toml
Beta Was this translation helpful? Give feedback.
All reactions