Skip to content

Commit 8707a16

Browse files
infra: update ruby integration (#14117)
Moving the ruzzy runtime to /usr/local/bin/ruzzy in a hope to overcome the runtime issues ox-ruby is having. Signed-off-by: David Korczynski <david@adalogics.com>
1 parent a955b07 commit 8707a16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infra/base-images/base-runner/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ RUN /install_javascript.sh && rm /install_javascript.sh
112112
# Copy built ruby and ruzzy from builder
113113
COPY --from=base-ruby /usr/local/rvm /usr/local/rvm
114114
COPY --from=base-ruby /install/ruzzy /install/ruzzy
115-
COPY ruzzy /usr/bin/ruzzy
115+
COPY ruzzy /usr/local/bin/ruzzy
116116
ENV PATH="$PATH:/usr/local/rvm/rubies/ruby-3.3.1/bin"
117117
# RubyGems installation directory
118118
ENV GEM_HOME="$OUT/fuzz-gem"

projects/ox-ruby/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ echo "Showing this dir:"
4646
ls -la \$this_dir
4747
4848
49-
/usr/bin/ruzzy \$this_dir/fuzz_parse.rb \$@""" > $OUT/fuzz_parse
49+
/usr/local/bin/ruzzy \$this_dir/fuzz_parse.rb \$@""" > $OUT/fuzz_parse
5050

5151
chmod +x $OUT/fuzz_parse
5252

0 commit comments

Comments
 (0)