tag:help.rubygems.org,2010-01-19:/discussions/questions/12-best-way-to-get-optional-native-extensions-in-a-gemRubyGems.org: Discussion 2011-04-07T20:59:26Ztag:help.rubygems.org,2010-01-19:Comment/11972742010-03-11T21:12:23Z2010-03-11T21:12:23ZBest way to get optional native extensions in a gem?<div><p>You need to generate a Makefile that does nothing in the else
case, and be sure to have a wrapper around the require of sasl.so
that rescues the LoadError.</p></div>Eric Hodel