]> 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)
committerMichael Jerris <mike@jerris.com>
Mon, 7 Apr 2014 20:29:45 +0000 (16:29 -0400)
Conflicts:
libs/esl/ruby/single_command.rb

libs/esl/ruby/Makefile
libs/esl/ruby/single_command.rb

index 4ae6c357c19c1413b49d6fc399639a56c6360934..8284dcda62cc1d5340c206002508331fb29c5870 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 b763cd8211b305c0d98586db2bfc285c881b6d0f..fd52cb35113faec51d7157a5176a30086834b0a7 100644 (file)
@@ -1,5 +1,4 @@
 #! /usr/bin/ruby
-
 require "ESL"
 
 command = ARGV.join(" ")