Skip to content

Commit

Permalink
Add rake-compiler-dock as a dependency
Browse files Browse the repository at this point in the history
`gem/exe/rb-sys-dock` needs rake-compiler-dock to load the right
Ruby versions, so require it as a dependency.
  • Loading branch information
stanhu committed Jan 28, 2025
1 parent b5aa9a6 commit 71e60dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ gemspec path: "examples/rust_reverse"
gem "rake", "~> 13.0"
gem "minitest", "5.15.0"
gem "rake-compiler", "~> 1.2.5" # Small bug in 1.2.4 that breaks Ruby 2.5
gem "rake-compiler-dock", "1.9.1" # This should match the versions used in docker/Dockerfile.*
gem "racc", "~> 1.7"
gem "base64", "~> 0.2.0"
gem "yard"
Expand Down
3 changes: 3 additions & 0 deletions gem/rb_sys.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ Gem::Specification.new do |spec|
end

spec.metadata["rubygems_mfa_required"] = "true"

# This should match the versions used in docker/Dockerfile.*
spec.add_dependency("rake-compiler-dock", "~> 1.9.1")
end

0 comments on commit 71e60dc

Please sign in to comment.