Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

behaviour of 'system' version inconsistent/bugged #278

Closed
z0w13 opened this issue Mar 6, 2023 · 1 comment · Fixed by #279
Closed

behaviour of 'system' version inconsistent/bugged #278

z0w13 opened this issue Mar 6, 2023 · 1 comment · Fixed by #279
Labels
bug Something isn't working

Comments

@z0w13
Copy link

z0w13 commented Mar 6, 2023

Describe the bug
Some plugins do not function with system version, one example being the rust plugin

To Reproduce
rtx exec rust@system -- which rustc

Expected behavior

Expected output:

~$ rtx exec rust@system -- which rustc
/usr/bin/rustc

actual output:

~$ rtx exec rust@system -- which rustc
/home/zowie/.local/share/rtx/installs/rust/1.67.1/bin/rustc

rtx doctor output

rtx version:
  1.22.4 linux-x64 (built 2023-03-06)

shell:
  /usr/bin/fish
  fish, version 3.6.0

rtx environment variables:
  RTX_SHELL=fish

config:
  Files: ~/.tool-versions, ~/.config/rtx/config.toml
  Installed Plugins: deno, elixir, golang, java, maven, nodejs, php, python, ruby, rust, shellcheck, yarn

settings:
  {"experimental": "false", "missing_runtime_behavior": "prompt", "always_keep_download": "false", "legacy_version_file": "true", "plugin_autoupdat
e_last_check_duration": "10080", "verbose": "false", "asdf_compat": "false", "jobs": "1", "disable_default_shorthands": "false", "log_level": "INFO
", "raw": "false"}

toolset:
  yarn@1.22.10, php@8.2.3, golang@1.16.2, java@openjdk-10.0.2, maven@3.6.3, deno@1.10.1, rust@1.67.1, shellcheck@0.9.0, ruby@3.1.0, python@3.11.2

Additional context
Using Arch Linux with the system rust package

@z0w13 z0w13 added the bug Something isn't working label Mar 6, 2023
@jdx
Copy link
Owner

jdx commented Mar 6, 2023

yeah I can repro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants