diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-04-13 15:26:48 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-04-13 15:26:48 -0700 |
commit | b44198945b41462fd7663ea2b7a9b7362ad32083 (patch) | |
tree | 15d33abb2a732d950dd80e28d80a2dc4698f26ad | |
parent | c70abbaefbc4ea3fa6450e341bf3818ceca8b2fa (diff) | |
download | ffi-yajl-b44198945b41462fd7663ea2b7a9b7362ad32083.tar.gz |
add explanatory comment
-rw-r--r-- | spec/spec_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 267983e..cb00af6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,8 @@ $: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib")) +# load yajl-ruby into the same process (tests that both c-libs can be +# linked in the same process). this should work, see: +# http://stackoverflow.com/questions/3232822/linking-with-multiple-versions-of-a-library begin require 'yajl' rescue LoadError |