Skip to content

Commit

Permalink
Don't cross build extension for ruby-2.2 per "rake gem:windows"
Browse files Browse the repository at this point in the history
Since ruby < 2.3 isn't any longer supported.
  • Loading branch information
larskanis committed Jun 1, 2020
1 parent c17db09 commit 426be5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ desc "build a windows gem without all the ceremony"
task "gem:windows" do
require "rake_compiler_dock"
sh "bundle package"
RakeCompilerDock.sh "sudo apt-get update && sudo apt-get install -y libltdl-dev && bundle --local && rake cross native gem MAKE='nice make -j`nproc`'"
RakeCompilerDock.sh "sudo apt-get update && sudo apt-get install -y libltdl-dev && bundle --local && rake cross native gem MAKE='nice make -j`nproc`' RUBY_CC_VERSION=${RUBY_CC_VERSION/:2.2.2/}"
end

directory "ext/ffi_c/libffi"
Expand Down

0 comments on commit 426be5e

Please sign in to comment.