asdf icon indicating copy to clipboard operation
asdf copied to clipboard

no Ruby script found in input (LoadError) when asdf called directly

Open etcook opened this issue 4 years ago • 3 comments

The asdf integration in the JetBrains projects calls asdf.sh directly, and periodically, I'll run into the issue below.

➜ . /usr/local/Cellar/asdf/0.7.8/asdf.sh && asdf local ruby 2.5.7 && ruby /Users/eugene.cook/.asdf/shims/rails console Traceback (most recent call last): /Users/eugene.cook/.asdf/installs/ruby/2.5.7/bin/ruby: no Ruby script found in input (LoadError) I've tried removing the shims directory completely and triggering a reshim, without success.

etcook avatar May 19 '20 15:05 etcook

This looks similar to https://github.com/asdf-vm/asdf/issues/64.

Stratus3D avatar May 19 '20 15:05 Stratus3D

This looks similar to #64.

Yes. I did look through there, but the resolution (adding the path) that was merged in didn't resolve it, so I assumed it was a different issue.

etcook avatar May 19 '20 16:05 etcook

@etcook are you running the latest version of asdf? Can you post the output of asdf info?

Stratus3D avatar May 19 '21 00:05 Stratus3D

@etcook Did I manage to solve it?

freitas777daniel avatar Oct 16 '23 14:10 freitas777daniel