#!/bin/sh
	# Vendor firmwares (e.g. GLiNet) often lack ruby in their feed; we do not hard-DEPEND
	# so the LuCI app can install. Runtime still needs ruby for YAML / crypto.
	if ! command -v ruby >/dev/null 2>&1; then
		echo "提示: 未检测到 ruby。请从 OpenWrt 官方软件源安装 ruby 与 ruby-yaml，否则订阅/配置处理可能异常。"
		echo "  示例: opkg update && opkg install ruby ruby-yaml"
		echo "  若官方源无包，可按路由器架构从 downloads.openwrt.org 下载对应 ipk 后本地安装。"
	fi
	exit 0
