lib/alamojoe.rb in alamojoe-0.2.3 vs lib/alamojoe.rb in alamojoe-0.2.4
- old
+ new
@@ -2,17 +2,16 @@
require 'ffi'
require_relative 'alamojoe/version'
-puts Dir.pwd
-
module Alamojoe
extend FFI::Library
# set environment variables
ENV['EXSEC_RUNTIME_LANGUAGE'] = 'RUBY'
ENV['EXSEC_RUNTIME_LANGUAGE_VERSION'] = RUBY_VERSION
+ ENV['EXSEC_APP_DIR'] = Dir.pwd
ffi_lib (__dir__ + '/libcore.so')
attach_function :configure, [:string], :int
class Error < StandardError