]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
ESL-89: fix install path and single_command require
authorBrian West <brian@freeswitch.org>
Mon, 7 Apr 2014 20:26:13 +0000 (15:26 -0500)
committerBrian West <brian@freeswitch.org>
Mon, 7 Apr 2014 20:26:13 +0000 (15:26 -0500)
libs/esl/ruby/Makefile
libs/esl/ruby/single_command.rb

index ef7cbacc80a4bc175bf0a66f77fb71342e9a11d1..e6ce4731f3fcb9f6a477f221e4fbe6c80bedf505 100644 (file)
@@ -1,7 +1,7 @@
 RUBY:=ruby
 LOCAL_LDFLAGS=$(shell $(RUBY) -rrbconfig -e 'puts RbConfig::CONFIG["LIBRUBYARG"]')
 LOCAL_CFLAGS=$(shell $(RUBY) cflags.rb)
-RUBY_GEM_DIR=$(shell $(RUBY) -e 'puts Gem.dir')
+RUBY_GEM_DIR=$(shell $(RUBY) -e 'puts RbConfig::CONFIG["rubylibdir"]')
 
 all: ESL.so
 
index 783152c390363a09be798c03688dbb6eaf093adf..7bb511203560d2968ebea97dae7bea2b99168ad3 100644 (file)
@@ -1,5 +1,5 @@
 #! /usr/bin/ruby
-require_relative './ESL' 
+require 'ESL' 
 
 HOST     = '127.0.0.1'.to_s 
 PORT     = '8021'.to_s