Exception: Rubycc::Rmake::UnsupportedRecipeError

Inherits:
ExecutionError show all
Defined in:
lib/rubycc/rmake/errors.rb

Overview

The shell-less runner met a construct it does not interpret (a pipe, background &, command substitution, an unterminated quote, ...). Since rubycc runs recipes without /bin/sh, an unhandled construct must fail loudly with the offending target and line rather than be silently dropped — this is the signal that a gem's recipe needs to be added to the runner's scope or the gem listed as unsupported (ROADMAP §6 B2).

Instance Attribute Summary

Attributes inherited from ExecutionError

#command, #target

Instance Method Summary collapse

Constructor Details

#initialize(construct, target:, command:) ⇒ UnsupportedRecipeError

Returns a new instance of UnsupportedRecipeError.



66
67
68
# File 'lib/rubycc/rmake/errors.rb', line 66

def initialize(construct, target:, command:)
  super("unsupported shell construct (#{construct})", target: target, command: command)
end