[Rubygems-developers] extensions fall back option
transfire at gmail.com
Fri Nov 9 19:14:51 EST 2007
On Nov 9, 2007 5:04 PM, Eric Hodel <drbrain at segment7.net> wrote:
> On Nov 7, 2007, at 08:45 , Trans wrote:
> > Would this suffice for adding a fall back option to Installer? It also
> > requires that 'extensions_fallback' be added to the gemspec.
> extconf.rb can be set up to do this already. Check for all your
> dependencies, and if one of them doesn't exist, generate a Makefile
> that does nothing. If you fail to compile for some other reason, I
> think it is too dangerous to automatically fall back.
That doesn't work if there is no make/nmake on the system. Plus, the
fall back is pure ruby. So if it fails for _any reason_ it would be
okay --that's the point. It would just give a warning that native
extension didn't compile, but the library was still usable in pure
More information about the Rubygems-developers