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

bug: give full path to asdf #365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

zrusilla
Copy link

In some use cases, such as scripted install, asdf is not yet added to PATH.
Determine ASDF_DIR and give full pathname of asdf in bin/install.

In some use cases, asdf is not yet added to PATH. Determine
ASDF_DIR and give full pathname of asdf in bin/install.
Copy link
Member

@Stratus3D Stratus3D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If asdf is properly installed this shouldn't be necessary. I suggest you look at your development environment or your install script and see if you can correct things so asdf is on the path.

@augustobmoura can you take a look at this? Generally, asdf plugins should not turn around and invoke asdf like this. I imagine this is probably necessary in this case, but it should be avoided.

@augustobmoura
Copy link
Member

@zrusilla can you be more specific to which cases would asdf not be on PATH?

From a glance, I believe @Stratus3D is correct, a correct instalation of asdf should always have the asdf bin in PATH.
If for some reason that is not the case for you setup, you should add ASDF_DIR/bin to PATH before calling any asdf-nodejs scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants