You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm having this error initializing Tapioca with command:
bundle exec tapioca init
Error:
➜ bundle exec tapioca init
identical sorbet/config
identical sorbet/tapioca/config.yml
identical sorbet/tapioca/require.rb
force bin/tapioca
Retrieving index from central repository... bundler: failed to load command: tapioca (/home/ricsdeol/.asdf/installs/ruby/3.4.1/bin/tapioca)
/home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:46:in 'OpenSSL::SSL::SSLSocket#connect_nonblock': SSL_connect returned=1 errno=0 peeraddr=[2606:50c0:8000::154]:443 state=error: certificate verify failed (unable to get local issuer certificate) (OpenSSL::SSL::SSLError)
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:46:in 'Net::Protocol#ssl_socket_connect'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1736:in 'Net::HTTP#connect'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1636:in 'Net::HTTP#do_start'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1625:in 'Net::HTTP#start'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1064:in 'Net::HTTP.start'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/annotations.rb:180:in 'Tapioca::Commands::Annotations#fetch_http_file'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'UnboundMethod#bind_call'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'block in Tapioca::Commands::Annotations#_on_method_added'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/annotations.rb:158:in 'Tapioca::Commands::Annotations#fetch_file'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'UnboundMethod#bind_call'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'block in Tapioca::Commands::Annotations#_on_method_added'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/annotations.rb:104:in 'Tapioca::Commands::Annotations#fetch_index'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'UnboundMethod#bind_call'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'block in Tapioca::Commands::Annotations#_on_method_added'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/annotations.rb:87:in 'block in Tapioca::Commands::Annotations#fetch_indexes'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/annotations.rb:86:in 'Array#each'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/annotations.rb:86:in 'Tapioca::Commands::Annotations#fetch_indexes'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'UnboundMethod#bind_call'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'block in Tapioca::Commands::Annotations#_on_method_added'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/annotations.rb:40:in 'Tapioca::Commands::Annotations#execute'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'UnboundMethod#bind_call'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'block in Tapioca::Commands::Annotations#_on_method_added'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/command.rb:27:in 'block in Tapioca::Commands::Command#run'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca.rb:24:in 'block in Tapioca.silence_warnings'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/rubygems/user_interaction.rb:46:in 'Gem::DefaultUserInteraction.use_ui'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca.rb:23:in 'Tapioca.silence_warnings'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/commands/command.rb:26:in 'Tapioca::Commands::Command#run'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/cli.rb:371:in 'Tapioca::Cli#annotations'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/thor-1.3.2/lib/thor/command.rb:28:in 'Thor::Command#run'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/thor-1.3.2/lib/thor/invocation.rb:127:in 'Thor::Invocation#invoke_command'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/thor-1.3.2/lib/thor.rb:538:in 'Thor.dispatch'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/thor-1.3.2/lib/thor/invocation.rb:116:in 'Thor::Invocation#invoke'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/cli.rb:31:in 'block in Tapioca::Cli#init'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/runtime/trackers.rb:26:in 'Tapioca::Runtime::Trackers.with_trackers_enabled'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'UnboundMethod#bind_call'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/sorbet-runtime-0.5.11765/lib/types/private/methods/_methods.rb:279:in 'block in Tapioca::Runtime::Trackers._on_method_added'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/lib/tapioca/cli.rb:29:in 'Tapioca::Cli#init'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/thor-1.3.2/lib/thor/command.rb:28:in 'Thor::Command#run'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/thor-1.3.2/lib/thor/invocation.rb:127:in 'Thor::Invocation#invoke_command'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/thor-1.3.2/lib/thor.rb:538:in 'Thor.dispatch'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/thor-1.3.2/lib/thor/base.rb:584:in 'Thor::Base::ClassMethods#start'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/tapioca-0.16.8/exe/tapioca:30:in '<top (required)>'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/bin/tapioca:25:in 'Kernel#load'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/bin/tapioca:25:in '<top (required)>'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/cli/exec.rb:59:in 'Kernel.load'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/cli/exec.rb:59:in 'Bundler::CLI::Exec#kernel_load'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/cli.rb:452:in 'Bundler::CLI#exec'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/vendor/thor/lib/thor/command.rb:28:in 'Bundler::Thor::Command#run'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/vendor/thor/lib/thor.rb:538:in 'Bundler::Thor.dispatch'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/cli.rb:35:in 'Bundler::CLI.dispatch'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/vendor/thor/lib/thor/base.rb:584:in 'Bundler::Thor::Base::ClassMethods#start'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/cli.rb:29:in 'Bundler::CLI.start'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/bundler-2.6.3/exe/bundle:28:in 'block in <top (required)>'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/site_ruby/3.4.0/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/bundler-2.6.3/exe/bundle:20:in '<top (required)>'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/bin/bundle:25:in 'Kernel#load'
from /home/ricsdeol/.asdf/installs/ruby/3.4.1/bin/bundle:25:in '<main>'
Ruby version: 3.4.1p0
Tapioca version: tapioca (0.16.8)
I'm using Ubuntu 22.04, is there a library I should install to make it work?
Thank in advance for the help
The text was updated successfully, but these errors were encountered:
Looking at the stack trace I think you have a require call in require.rb that triggers Net::HTTP.start. Try to clean up that file (most entries are probably unnecessary).
Hi I'm having this error initializing Tapioca with command:
Error:
Ruby version: 3.4.1p0
Tapioca version: tapioca (0.16.8)
I'm using Ubuntu 22.04, is there a library I should install to make it work?
Thank in advance for the help
The text was updated successfully, but these errors were encountered: