Skip to content

Commit 671c9e4

Browse files
committed
Add some nokogiri dependencies temporarily
I'd love to find a way to avoid these dependencies. These are just for generating some sources for YARP, and are not used after that. I bet we can pre-generate YARP sources and commit to our repo...
1 parent 2a5ac56 commit 671c9e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG IMAGE=ruby:3.2
22
FROM $IMAGE
33

4-
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -q build-essential autoconf libtool clang lcov clang-tidy libclang-dev lldb python3 python3-pip ccache
4+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -q build-essential autoconf libtool clang zlib1g-dev liblzma-dev lcov clang-tidy libclang-dev lldb python3 python3-pip ccache
55

66
# PIP externally-managed-environment now forces you
77
# to be explicit when installing system-wide package

lib/natalie/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def debug(node)
668668
end
669669
puts @path
670670
p node.location.start_line
671-
binding.irb
671+
binding.irb if ENV['DEBUG_PARSER']
672672
end
673673

674674
def s(*items, location:)

0 commit comments

Comments
 (0)