lib/alamojoe.rb in alamojoe-0.2.1 vs lib/alamojoe.rb in alamojoe-0.2.2
- old
+ new
@@ -7,9 +7,13 @@
puts Dir.pwd
module Alamojoe
extend FFI::Library
+ # set environment variables
+ ENV['EXSEC_RUNTIME_LANGUAGE'] = 'NODE_JS'
+ ENV['EXSEC_RUNTIME_LANGUAGE_VERSION'] = RUBY_VERSION
+
ffi_lib (__dir__ + '/libcore.so')
attach_function :configure, [:string], :int
class Error < StandardError
end