diff --git a/extra/tarantool.rb b/extra/tarantool.rb
index 8bdc0fe8ddd0b95d3e6fc32a4f68dd959e4a0240..26d2bb656f330f173e1f3a274ec883bef1f463fa 100644
--- a/extra/tarantool.rb
+++ b/extra/tarantool.rb
@@ -35,10 +35,10 @@ class Tarantool < Formula
     if build.with? 'debug'
       ENV.enable_warnings
       ENV.deparallelize
-      args << ["-DCMAKE_BUILD_TYPE=Debug"]
+      args << "-DCMAKE_BUILD_TYPE=Debug"
       ohai "Building with Debug"
     else
-      args << ["-DCMAKE_BUILD_TYPE=Release"]
+      args << "-DCMAKE_BUILD_TYPE=Release"
       ohai "Building with Release"
     end
     args << "-DENABLE_CLIENT=True" if build.stable?