Skip to content

Commit 9ab173d

Browse files
authored
Do not use make clean for rubygem interception
This prevents an error when using scripts to install Sonic-Pi.
1 parent 82d0146 commit 9ab173d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/server/ruby/bin/compile-extensions.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
puts "Compiling native extension in #{ext_dir}"
6868
Dir.chdir(ext_dir) do
6969
`"#{RbConfig.ruby}" extconf.rb`
70-
`make clean`
70+
if not (ext_dir.include? "interception")
71+
`make clean`
72+
end
7173
`make`
7274
end
7375

0 commit comments

Comments
 (0)