diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2013-11-17 00:27:18 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2013-11-17 00:27:18 -0800 |
commit | 8594579dbc8d124b034dcf7c96045d37cffd9117 (patch) | |
tree | c94880093d1c4e0ec4b37eaf168b5e230b2ee5b8 /ext | |
parent | bc8c2bc1d3ab87b19e54d661d6d5e0dd2c7a5958 (diff) | |
download | ffi-yajl-8594579dbc8d124b034dcf7c96045d37cffd9117.tar.gz |
raise some exceptions
Diffstat (limited to 'ext')
-rw-r--r-- | ext/libyajl2/extconf.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index 73cd2b0..f16b625 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -32,11 +32,11 @@ unless libyajl2_ok # ENV['CFLAGS'] = $CFLAGS # ENV['LDFLAGS'] = $LDFLAGS # ENV['CC'] = RbConfig::MAKEFILE_CONFIG['CC'] - system "wget -O yajl-2.0.1.tar.gz http://github.com/lloyd/yajl/tarball/2.0.1" - system "tar xvf yajl-2.0.1.tar.gz" - Dir.chdir "lloyd-yajl-f4b2b1a" - system "./configure --prefix=#{prefix} > /tmp/libyajl.out" - system "make install >> /tmp/libyajl.out" + system "wget -O yajl-2.0.1.tar.gz http://github.com/lloyd/yajl/tarball/2.0.1" or raise "wget failed" + system "tar xvf yajl-2.0.1.tar.gz" or raise "tar xvf failed" + Dir.chdir "lloyd-yajl-f4b2b1a" or raise "chdir failed" + system "./configure --prefix=#{prefix} > /tmp/libyajl.out" or raise "configure failed" + system "make install >> /tmp/libyajl.out" or raise "make install failed Dir.chdir ".." end |