summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-03-24 12:58:53 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-03-24 12:58:53 -0700
commitd21e6256d63bc7f4c1a67ff0a13eb76c61c52ab1 (patch)
tree0c256042bd38ecbe1fe978376bb998c1c13e917a
parent55f3cb72c7378336451b27ff97541c1f67f03d43 (diff)
downloadffi-yajl-lcg/ffi-less-ffi-yajl.tar.gz
warn on stderrlcg/ffi-less-ffi-yajl
-rw-r--r--lib/ffi_yajl/ffi.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ffi_yajl/ffi.rb b/lib/ffi_yajl/ffi.rb
index e291ba5..32335ac 100644
--- a/lib/ffi_yajl/ffi.rb
+++ b/lib/ffi_yajl/ffi.rb
@@ -4,8 +4,8 @@ require 'libyajl2'
begin
require 'ffi'
rescue LoadError
- puts "FATAL: to use the ffi extension instead of the compiled C extension, the ffi gem must be installed"
- puts " (it is optional, so you must include it in your bundle manually)"
+ $stderr.puts "FATAL: to use the ffi extension instead of the compiled C extension, the ffi gem must be installed"
+ $stderr.puts " (it is optional, so you must include it in your bundle manually)"
exit 1
end