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

no such file or directory #11

Open
devshok opened this issue Nov 13, 2020 · 1 comment
Open

no such file or directory #11

devshok opened this issue Nov 13, 2020 · 1 comment

Comments

@devshok
Copy link

devshok commented Nov 13, 2020

What I did?

Installed tldrb via ruby using command:
gem install tldrb

I received next output:

Ignoring executable-hooks-1.6.0 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.0
Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1
Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0
Error loading RubyGems plugin "/Users/myname/.rvm/rubies/ruby-2.6.5/lib/ruby/gems/2.6.0/gems/executable-hooks-1.6.0/lib/rubygems_plugin.rb": cannot load such file -- executable-hooks/wrapper (LoadError)
Error loading RubyGems plugin "/Users/myname/.rvm/rubies/ruby-2.6.5/lib/ruby/gems/2.6.0/gems/gem-wrappers-1.4.0/lib/rubygems_plugin.rb": cannot load such file -- gem-wrappers (LoadError)
Fetching tldrb-0.0.2.gem
Fetching mime-types-2.99.3.gem
Fetching unf_ext-0.0.7.7.gem
Fetching unf-0.1.4.gem
Fetching domain_name-0.5.20190701.gem
Fetching http-cookie-1.0.3.gem
Fetching rest-client-1.8.0.gem
Fetching bales-0.1.3.gem
Successfully installed mime-types-2.99.3
Building native extensions. This could take a while...
Successfully installed unf_ext-0.0.7.7
Successfully installed unf-0.1.4
Successfully installed domain_name-0.5.20190701
Successfully installed http-cookie-1.0.3
Successfully installed rest-client-1.8.0
Successfully installed bales-0.1.3
Successfully installed tldrb-0.0.2
Parsing documentation for mime-types-2.99.3
Installing ri documentation for mime-types-2.99.3
Parsing documentation for unf_ext-0.0.7.7
Installing ri documentation for unf_ext-0.0.7.7
Parsing documentation for unf-0.1.4
Installing ri documentation for unf-0.1.4
Parsing documentation for domain_name-0.5.20190701
Installing ri documentation for domain_name-0.5.20190701
Parsing documentation for http-cookie-1.0.3
Installing ri documentation for http-cookie-1.0.3
Parsing documentation for rest-client-1.8.0
Installing ri documentation for rest-client-1.8.0
Parsing documentation for bales-0.1.3
Installing ri documentation for bales-0.1.3
Parsing documentation for tldrb-0.0.2
Installing ri documentation for tldrb-0.0.2
Done installing documentation for mime-types, unf_ext, unf, domain_name, http-cookie, rest-client, bales, tldrb after 4 seconds
8 gems installed

And then I tried next:

tldr

And

tldrb

I got:

zsh: /usr/local/bin/tldrb: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory

ruby -v gives me 2.7.2 version and ls -a /System/Library/Frameworks/Ruby.framework/Versions/ gives me that:

2.6/

What should I do?

@YellowApple
Copy link
Owner

Yeah, that seems like something weird with your Ruby installation. Are you using something like e.g. RVM or rbenv? And if so, are you sure it's setup right?

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

2 participants