padrino/padrino-framework · error · SystemExit

Unable to locate '#{app.underscore.camelize}' application

Error message

Unable to locate '#{app.underscore.camelize}' application        

What it means

Error "Unable to locate '#{app.underscore.camelize}' application " thrown in padrino/padrino-framework.

Source

Thrown at padrino-gen/lib/padrino-gen/generators/actions.rb:459

      ##
      # Raise SystemExit if the app does not exist.
      #
      # @param [String] app
      #   Directory name of application.
      #
      # @example
      #   check_app_existence 'app'
      #
      def check_app_existence(app)
        return if File.exist?(destination_root(app))

        say
        say '================================================================='
        say "Unable to locate '#{app.underscore.camelize}' application        "
        say '================================================================='
        say
        raise SystemExit
      end

      ##
      # Generates standard and tiny applications within a project.
      #
      # @param [String] app
      #   Name of application.
      # @param [Boolean] tiny
      #   Boolean to generate a tiny structure.
      #
      # @example
      #   app_skeleton 'some_app'
      #   app_skeleton 'sub_app', true
      #
      def app_skeleton(app, tiny = false)
        directory('app/', destination_root(app))
        if tiny
          template 'templates/controller.rb.tt', destination_root(app, 'controllers.rb')

View on GitHub (pinned to 167044f3d5)

When it happens

Trigger: Thrown at padrino-gen/lib/padrino-gen/generators/actions.rb:459 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of padrino/padrino-framework@167044f3d5 (2026-08-23). Data as JSON: /api/errors/2ef3a70645920be9. Report an issue: GitHub.