Skip to content

Instantly share code, notes, and snippets.

@arika
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arika/d2c22b91c18c7baab69a to your computer and use it in GitHub Desktop.
Save arika/d2c22b91c18c7baab69a to your computer and use it in GitHub Desktop.
brew install groonga with mruby-support
with→enableの間違いを直すとonig-sourceの中身をbuildしてくれなくてコケるという流れ。
いきなりmake installでなく、いったんmakeすれば回避できるみたい。
diff --git a/Library/Formula/groonga.rb b/Library/Formula/groonga.rb
index 66a643d..441bddc 100644
--- a/Library/Formula/groonga.rb
+++ b/Library/Formula/groonga.rb
@@ -28,7 +28,7 @@ class Groonga < Formula
--prefix=#{prefix}
--with-zlib
--disable-zeromq
- --with-mruby
+ --enable-mruby
--without-libstemmer
]
@@ -38,6 +38,7 @@ class Groonga < Formula
# ZeroMQ is an optional dependency that will be auto-detected unless we disable it
system "./configure", *args
+ system "make"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment