libv8.rb 317 B

123456789101112131415
  1. require 'pathname'
  2. require 'libv8/version'
  3. module Libv8
  4. LIBRARY_PATH = Pathname(__FILE__).dirname.join('libv8', 'build', 'v8').to_s
  5. def self.library_path
  6. LIBRARY_PATH
  7. end
  8. INCLUDE_PATH = Pathname(__FILE__).dirname.join('libv8', 'v8', 'include').to_s
  9. def self.include_path
  10. INCLUDE_PATH
  11. end
  12. end