Created
April 14, 2011 15:57
-
-
Save astevens/919786 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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