Permalink
Browse files

Add a Rake task to install oniguruma

  • Loading branch information...
1 parent 4264f34 commit 7c66bb6062cd0d4dccd4166409ac370fcb517ff3 @wycats wycats committed Mar 31, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 Rakefile
View
@@ -0,0 +1,11 @@
+desc "Install oniguruma"
+task :install_onig do
+ system "wget http://www.geocities.jp/kosako3/oniguruma/archive/onig-5.8.0.tar.gz"
+ system "tar zxvf onig-5.8.0.tar.gz"
+
+ Dir.chdir("onig-5.8.0") do
+ system "./configure"
+ system "make"
+ system "sudo make install"
+ end
+end

0 comments on commit 7c66bb6

Please sign in to comment.