Skip to content

Instantly share code, notes, and snippets.

@astevens
Created April 14, 2011 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astevens/919786 to your computer and use it in GitHub Desktop.
Save astevens/919786 to your computer and use it in GitHub Desktop.
# this hack works around inline c libs that return false in successfull load
class Inline::C
def load
require "#{so_name}"
#below is the original version which breaks
#require "#{so_name}" or raise LoadError, "require on #{so_name} failed"
end
end
# now we are ready to load
require 'image_science'
require 'acts-as-taggable-on'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment