Skip to content

The command bundle exec tapioca init fails #2515

@kris3713

Description

@kris3713

I am having the exact same problems as the user in closed issue #2459.

When I try to execute the command bundle exec tapioca init, it fails.

Can anyone please help me. If needed, I will provide more info about my dev environment.

>$ bundle exec tapioca init
bundler: failed to load command: tapioca (/home/kris/.gem/bin/tapioca)
/home/kris/.gem/gems/tapioca-0.16.11/lib/tapioca/runtime/trackers/required_ancestor.rb:55:in '<module:Helpers>': undefined method 'new' for module T::Module (NoMethodError)

    prepend(Module.new do
                  ^^^^
        from /home/kris/.gem/gems/tapioca-0.16.11/lib/tapioca/runtime/trackers/required_ancestor.rb:54:in '<module:T>'
        from /home/kris/.gem/gems/tapioca-0.16.11/lib/tapioca/runtime/trackers/required_ancestor.rb:53:in '<top (required)>'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/lib/ruby/4.0.0/bundled_gems.rb:60:in 'Kernel.require'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/lib/ruby/4.0.0/bundled_gems.rb:60:in 'block (2 levels) in Kernel#replace_require'
        from /home/kris/.gem/gems/tapioca-0.16.11/lib/tapioca/runtime/trackers.rb:58:in '<top (required)>'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/lib/ruby/4.0.0/bundled_gems.rb:60:in 'Kernel.require'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/lib/ruby/4.0.0/bundled_gems.rb:60:in 'block (2 levels) in Kernel#replace_require'
        from /home/kris/.gem/gems/tapioca-0.16.11/lib/tapioca/internal.rb:8:in '<top (required)>'
        from /home/kris/.gem/gems/tapioca-0.16.11/exe/tapioca:28:in 'Kernel#require_relative'
        from /home/kris/.gem/gems/tapioca-0.16.11/exe/tapioca:28:in '<top (required)>'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/lib/ruby/site_ruby/4.0.0/rubygems.rb:304:in 'Kernel#load'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/lib/ruby/site_ruby/4.0.0/rubygems.rb:304:in 'Gem.activate_and_load_bin_path'
        from /home/kris/.gem/bin/tapioca:25:in '<top (required)>'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/cli/exec.rb:61:in 'Kernel.load'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/cli/exec.rb:61:in 'Bundler::CLI::Exec#kernel_load'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/cli/exec.rb:24:in 'Bundler::CLI::Exec#run'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/cli.rb:500:in 'Bundler::CLI#exec'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/vendor/thor/lib/thor/command.rb:28:in 'Bundler::Thor::Command#run'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/vendor/thor/lib/thor.rb:538:in 'Bundler::Thor.dispatch'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/cli.rb:35:in 'Bundler::CLI.dispatch'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/vendor/thor/lib/thor/base.rb:584:in 'Bundler::Thor::Base::ClassMethods#start'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/cli.rb:29:in 'Bundler::CLI.start'
        from /home/kris/.gem/gems/bundler-4.0.3/exe/bundle:28:in 'block in <top (required)>'
        from /home/kris/.gem/gems/bundler-4.0.3/lib/bundler/friendly_errors.rb:118:in 'Bundler.with_friendly_errors'
        from /home/kris/.gem/gems/bundler-4.0.3/exe/bundle:20:in '<top (required)>'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/lib/ruby/site_ruby/4.0.0/rubygems.rb:304:in 'Kernel#load'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/lib/ruby/site_ruby/4.0.0/rubygems.rb:304:in 'Gem.activate_and_load_bin_path'
        from /home/kris/.local/share/mise/installs/ruby/4.0.1/bin/bundle:36:in '<main>'

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions