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: No such command in #{ruby_version} of ruby - seems to happen for JRuby #21

Closed
PragTob opened this issue Nov 22, 2016 · 1 comment
Closed

Comments

@PragTob
Copy link

PragTob commented Nov 22, 2016

It seems to only happens with jruby. I just wanted to install JRuby 9.1.6.0. Then this error happened whenever I wanted to execute anything with that ruby version. I updated asdf and the ruby plugin, uninstalled, installed again... tried asdf reshim ruby but it all didn't seem to help.

So right now I can't use JRuby :(

tobi@comfy ~ $ ruby server.rb 
No such command in jruby-9.1.6.0 of ruby

see the slightly longer version for more information...

tobi@comfy ~ $ asdf list ruby
2.3.1
jruby-9.1.5.0
jruby-9.1.6.0
tobi@comfy ~ $ asdf local 2.3.1
Usage: asdf local <name> <version>
tobi@comfy ~ $ asdf local ruby 2.3.1
tobi@comfy ~ $ ruby server.rb
tobi@comfy ~ $ asdf local ruby jruby-9.1.6.0
tobi@comfy ~ $ ruby server.rb 
No such command in jruby-9.1.6.0 of ruby
tobi@comfy ~ $ asdf list ruby
2.3.1
jruby-9.1.5.0
jruby-9.1.6.0
tobi@comfy ~ $ ruby -v
No such command in jruby-9.1.6.0 of ruby
tobi@comfy ~ $ 

I'm on Linux Mint 18 if it helps.

tobi@comfy ~ $ uname -a
Linux comfy 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Any help would be welcome, because maybe I do something wrong. I think it used to worok with 9.1.5.0.

@PragTob
Copy link
Author

PragTob commented Nov 22, 2016

I might be an idiot. JRuby doesn't seem to come with a ruby command, which is weird... I might need to find a place where I pass a link. If someone finds this... jruby -v and jruby server.rb work.

@PragTob PragTob closed this as completed Nov 22, 2016
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

No branches or pull requests

1 participant