summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-04-13 15:26:48 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-04-13 15:26:48 -0700
commitb44198945b41462fd7663ea2b7a9b7362ad32083 (patch)
tree15d33abb2a732d950dd80e28d80a2dc4698f26ad /spec
parentc70abbaefbc4ea3fa6450e341bf3818ceca8b2fa (diff)
downloadffi-yajl-b44198945b41462fd7663ea2b7a9b7362ad32083.tar.gz
add explanatory comment
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb3
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