You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But there seem to be errors in rules_ruby's wrapper script
bazel-out/k8-opt/bin/external/CMock/autogen:121: warning: string literal in condition
bazel-out/k8-opt/bin/external/CMock/autogen:122: warning: string literal in condition
bazel-out/k8-opt/bin/external/CMock/autogen:26:in `<main>': private method `define_method' called for Dir:Class (NoMethodError)
Did you mean? define_singleton_method
Target //(redacted) failed to build
I tried with ruby 2.3 (host ruby) and 2.7.0.
I also tried to use the commit before 5a81b11 (and set up the WORKSPACE as explained in that version's readme) but it has other problems:
bazel-out/k8-opt/bin/external/CMock/autogen:113: warning: string literal in condition
bazel-out/k8-opt/bin/external/CMock/autogen:114: warning: string literal in condition
bazel-out/k8-opt/bin/external/CMock/autogen:39:in `find_runfiles': Cannot find .runfiles directory for bazel-out/k8-opt/bin/external/CMock/autogen (RuntimeError)
from bazel-out/k8-opt/bin/external/CMock/autogen:103:in `main'
from bazel-out/k8-opt/bin/external/CMock/autogen:146:in `<main>'
Target //(redacted) failed to build
Am I doing something wrong? Any ideas how to fix this?
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to use CMock's cmock.rb with rules_ruby.
I have the WORKSPACE set up as per the rules_ruby readme instructions.
cmock.rb
is visible as targetautogen
I'm calling this
autogen
target in a custom Bazel rule that basically does this:But there seem to be errors in rules_ruby's wrapper script
I tried with ruby 2.3 (host ruby) and 2.7.0.
I also tried to use the commit before 5a81b11 (and set up the WORKSPACE as explained in that version's readme) but it has other problems:
Am I doing something wrong? Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: