Top Level Namespace
Defined Under Namespace
Modules: ActionDispatch, ActiveSupport, Couchbase, Rack
Classes: MultiJson
Constant Summary
collapse
- LIBDIR =
- INCLUDEDIR =
[
'/opt/local/include',
'/usr/local/include',
INCLUDEDIR,
'/usr/include'
]
- LIB_DIRS =
[
'/opt/local/lib',
'/usr/local/lib',
LIBDIR,
'/usr/lib'
]
Instance Method Summary
collapse
Instance Method Details
#define(macro, value = nil) ⇒ Object
38
39
40
|
# File 'ext/couchbase_ext/extconf.rb', line 38
def define(macro, value = nil)
$defs.push("-D #{[macro.upcase, value].compact.join('=')}")
end
|
#die(message) ⇒ Object
128
129
130
131
132
133
|
# File 'ext/couchbase_ext/extconf.rb', line 128
def die(message)
STDERR.puts "\n#{"*" * 70}"
STDERR.puts "#{message.gsub(/^/, "* ")}"
STDERR.puts "#{"*" * 70}\n\n"
abort
end
|