From: Brian West Date: Mon, 7 Apr 2014 20:26:13 +0000 (-0500) Subject: ESL-89: fix install path and single_command require X-Git-Tag: v1.5.12~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bc92a11af4f404b8d5e84b215c6320a2c5b1ac4;p=thirdparty%2Ffreeswitch.git ESL-89: fix install path and single_command require --- diff --git a/libs/esl/ruby/Makefile b/libs/esl/ruby/Makefile index ef7cbacc80..e6ce4731f3 100644 --- a/libs/esl/ruby/Makefile +++ b/libs/esl/ruby/Makefile @@ -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 diff --git a/libs/esl/ruby/single_command.rb b/libs/esl/ruby/single_command.rb index 783152c390..7bb5112035 100644 --- a/libs/esl/ruby/single_command.rb +++ b/libs/esl/ruby/single_command.rb @@ -1,5 +1,5 @@ #! /usr/bin/ruby -require_relative './ESL' +require 'ESL' HOST = '127.0.0.1'.to_s PORT = '8021'.to_s