We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.46.033-beta
Official OpenWrt
23.05.3 r23809-234f1a2efa
Linux-amd64(x86-64)
在官方镜像上自行编译安装ruby和openclash后,openclash无法正常启动,会报 “错误:Ruby 依赖异常,无法校验配置文件,请确认ruby依赖工作正常后重试!” ,通过在shell里一步步模拟执行service openclash start,发现该报错来源于ruby无法正确处理/etc/init.d/openclash第379行中的中文中括号("【"和"】"),报错信息为"invalid multibyte char (US-ASCII)",改成英文中括号后恢复正常
见上
无
No response
The text was updated successfully, but these errors were encountered:
没遇到过这种报错,因为插件大部分日志都是这种格式,建议你把375-382行的代码拿出来单独执行,再看结果
Sorry, something went wrong.
我就是在sh里逐行执行start脚本才定位到这里的,之前也有很多明明装了ruby却报ruby依赖异常的issue,我觉得很大可能都是这里的问题
sh
No branches or pull requests
Verify Steps
OpenClash Version
v0.46.033-beta
Bug on Environment
Official OpenWrt
OpenWrt Version
23.05.3 r23809-234f1a2efa
Bug on Platform
Linux-amd64(x86-64)
Describe the Bug
在官方镜像上自行编译安装ruby和openclash后,openclash无法正常启动,会报 “错误:Ruby 依赖异常,无法校验配置文件,请确认ruby依赖工作正常后重试!” ,通过在shell里一步步模拟执行service openclash start,发现该报错来源于ruby无法正确处理/etc/init.d/openclash第379行中的中文中括号("【"和"】"),报错信息为"invalid multibyte char (US-ASCII)",改成英文中括号后恢复正常
To Reproduce
见上
OpenClash Log
OpenClash Config
No response
Expected Behavior
无
Additional Context
No response
The text was updated successfully, but these errors were encountered: