-
Notifications
You must be signed in to change notification settings - Fork 767
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
"No version is set" when version is set and returned by asdf current
[ruby]
#557
Comments
Try running Maintainers: I think it's worth considering clearing the bash cache ( |
I'm using |
Same started happening with NodeJS.
Worth saying that I had to put |
I'm having the same issue, and I noticed that it seems to happen because
When I changed my Hoping this information may help with debugging. |
Having a similar issue. I have a Node, Elixir, and Ruby versions all set in my |
Here's some info about my setup where I have the same issue. I just upgraded asdf as I saw in another issue that it might have been due to an old version, but I still have the issue. MacOS 10.14.6 Mojave
The shim explicitly mentions py 3.6.8 in a comment -- I'm not sure if that's a magic comment, I'm guessing so. Being that my python seems to be correctly pointed to asdf+3.7 for all the above commands, I feel like something in this last file is amiss. EDIT: The issue above was resolved by running |
I'm facing the same issue after installing another ruby version with asdf.
Running |
I also get this issue for nodejs in mac, i solve it by adding
|
As mentioned here, the problem happens because there is no bundler for the new ruby version. Running |
Having this issue with Julia |
I'm experiencing the same with the terraform plugin. This just started happening this week:
Adding it to the file instructed has no effect. |
In my case, there was an error when I tried
But it was solved by
|
I had the same issue after asdf upgrade from 0.7.0 to 0.7.5. Turns out that my shell's rc file was still pointing at the old version. Before fix After fix |
When you google the problem and realized your answer is how you fix it: #557 (comment) 😆 😆 😆 😆 classic Any updates on this? Also, I am doing the following in my zsh if [[ -f "$HOME/.asdf/asdf.sh" ]] then
source "$HOME/.asdf/asdf.sh"
source "$HOME/.asdf/completions/asdf.bash"
fi Therefore, I don't think I am running into the issue that @tispratik ran into. |
Something I found, doing ➜ asdf current
elixir 1.9.1 (set by /Users/ubi/.tool-versions)
erlang 22.0 (set by /Users/ubi/.tool-versions)
golang 1.13.5 (set by /Users/ubi/.tool-versions)
nodejs version 6.10 is not installed for nodejs
rust 1.28.0 (set by /Users/ubi/.tool-versions) This is wrong
In fact I do have NodeJS specify in my ➜ cat ~/.tool-versions
erlang 22.0
elixir 1.9.1
nodejs 10.17.0
ruby 2.6.3
clojure 1.10.0
golang 1.13.5
rust 1.28.0 I am not sure where |
Alright, I changed
I had It seems that now And I figured out somebody was using |
In relation to NodeJS, my issue was the globally installed I was experiencing something like this even with the version specified.
This path existed for my previous version of node 10 but not for node 12.
After |
Hi! I'm on OSX (Mojave 10.14.6) and ran into the following:
Does anyone know how I can set the correct version on |
My issue above was solved here: #662 (comment). Uninstall, use the correct plugin env vars and then installing it again solved my problem. I believe I had a bad install and had things in a weird state. Thanks for helping @Stratus3D ! |
|
Is this considered resolved? If not, can someone please rehash the problem clearly for me as I cannot see anything in particular outstanding? |
It seems this happened because we forgot to add the packager manager (bundler for ruby, yarn for node) after adding a new version. |
Also happened to me, solved it by just using
|
Set Current Version: resource: https://asdf-vm.com/#/core-manage-versions asdf global elixir 1.2.4 |
For me what it worked:
A mix of everything... |
Unfortunately didn't work (tried reshim in the pasted code above). Any other suggestions? |
@pravin have you run If that does not work and no suggestions in this thread solve the issue for you, can you open a new issue? |
asdf current
.asdf current
[ruby]
|
|
I faced the same issue for node what I did was
and it fixed the issue |
you need to set a version in a format "asdf global package-name 0.0.0" |
This is just rubbish... |
In my case it was direnv 2.32.1. |
This helped me get my solution. I was trying to run |
Has this problem with nodejs and yarn. I ran |
I had to uninstall the older version I was using in order to get things working again.
|
For those that miss the obvious (like me), if you're trying to install dependencies with
|
Just to add to what @fredrivett suggested, |
I ran into this issue (or rather a relative of it) just now with Node.js (and Gulp) and what seems to have worked was to run
|
I ran into this issue and tried all of the above solutions, as well as some that my co-workers suggested, like removing |
This was the only thing that worked for me too – thanks! |
This is the only thing that worked. Comical. |
Uninstalling and reinstalling worked for me
|
if you working on CI/CD pipeline and facing ruby version issue, |
Thank you, this solved my problem! |
I am once again encountering this issue w/ ruby. I've tried everything here (reinstalls, reshims, restarts) still no dice. |
For what it's worth, I encountered this error today; But I swear I tried it once and it didn't work. |
Adding here for anyone else silly enough to forget, but running |
#557 (comment) |
I've tried a lot of solutions, but only the one given in #557 (comment) worked for me. Thanks a lot, @DRAKYULA! |
This worked for me. Thank you! |
Following advice from #488, creating new issue.
Steps to reproduce
Install new ruby. Attempt to install dependencies using bundler. Tried new session after install.
Expected behavior
Dependencies are installed.
Actual behavior
Environment
OS:
macOS Sierra 10.12.6
asdf version:
The text was updated successfully, but these errors were encountered: