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
asdf in background #393
Comments
Can you provide details on this? How did it not work? Did it print an error? Also, how did you run it as a background process? |
Error log for the
I am using chef to run bundle install. |
You should never invoke shims directly. Instead of I don't know where Chef is invoking your
It's not clear to me what the stacktrace above means, as that's not from asdf, but I'd double check that you've followed all the steps in the asdf installation instructions. |
It's different error, Actually I got this working after loading up the environment variables when running the command, |
When running
gem install rake
from terminal, zshrc gets loaded andgem install rake
command runs successfully.Now when I am trying to run it as background process
gem intall rake
it will not work. workaround for this will be to use full path.$HOME/.asdf/shims/gem install rake
By running this it introduces new error. here in below line we are usingasdf
directly. because in background we can not use asdf directly.asdf-ruby/rubygems-plugin/rubygems_plugin.rb
Line 15 in b73efbe
Please let me know If I am missing something here. or is there any other way to handle this?
The text was updated successfully, but these errors were encountered: