From 7bc92a11af4f404b8d5e84b215c6320a2c5b1ac4 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 7 Apr 2014 15:26:13 -0500 Subject: [PATCH] ESL-89: fix install path and single_command require --- libs/esl/ruby/Makefile | 2 +- libs/esl/ruby/single_command.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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