Skip to content

bundler: failed to load command: t (/usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/bin/t) #468

@Akashkannan42624

Description

@Akashkannan42624

AM in arch linux and installed t by using yay, i did tried gem install t but t was not executable after the install. I know nothing about ruby and help me with this thingy.

$t
bundler: failed to load command: t (/usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/bin/t)
/usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/http-5.1.1/lib/http/mime_type/json.rb:3:in `require': cannot load such file -- json (LoadError)
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/http-5.1.1/lib/http/mime_type/json.rb:3:in `<top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/http-5.1.1/lib/http/mime_type.rb:78:in `require'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/http-5.1.1/lib/http/mime_type.rb:78:in `<top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/http-5.1.1/lib/http/response.rb:7:in `require'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/http-5.1.1/lib/http/response.rb:7:in `<top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/http-5.1.1/lib/http.rb:14:in `require'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/http-5.1.1/lib/http.rb:14:in `<top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/twitter-8.0.0/lib/twitter/rest/request.rb:2:in `require'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/twitter-8.0.0/lib/twitter/rest/request.rb:2:in `<top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/twitter-8.0.0/lib/twitter/cursor.rb:2:in `require'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/twitter-8.0.0/lib/twitter/cursor.rb:2:in `<top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/twitter-8.0.0/lib/twitter.rb:3:in `require'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/twitter-8.0.0/lib/twitter.rb:3:in `<top (required)>'
	from /usr/lib/t-twitter-cli/lib/t/cli.rb:6:in `require'
	from /usr/lib/t-twitter-cli/lib/t/cli.rb:6:in `<top (required)>'
	from /usr/lib/t-twitter-cli/lib/t.rb:1:in `require'
	from /usr/lib/t-twitter-cli/lib/t.rb:1:in `<top (required)>'
	from /usr/lib/t-twitter-cli/bin/t:8:in `require'
	from /usr/lib/t-twitter-cli/bin/t:8:in `<top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/bin/t:25:in `load'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/bin/t:25:in `<top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/cli/exec.rb:58:in `load'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/cli/exec.rb:23:in `run'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/cli.rb:492:in `exec'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/cli.rb:34:in `dispatch'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/cli.rb:28:in `start'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/exe/bundle:45:in `block in <top (required)>'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /usr/lib/t-twitter-cli/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.12/exe/bundle:33:in `<top (required)>'
	from /usr/bin/bundle:25:in `load'
	from /usr/bin/bundle:25:in `<main>'

I got the above when i ran t after installing it through yay

yay -S t-twitter-cli
$ ruby -v
ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]
$ sudo gem install t
WARNING:  You don't have /root/.local/share/gem/ruby/3.0.0/bin in your PATH,
	  gem executables will not run.
Successfully installed t-4.0.0
Parsing documentation for t-4.0.0
Done installing documentation for t after 1 seconds
1 gem installed
$ t
bash: /usr/bin/t: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions