From 3b78b3a8496cdd66567b6f433206273966858e74 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 3 Mar 2012 18:40:42 +0000 Subject: ruby: Use RbConfig instead of Config. I have checked, and this works with Ruby 1.8 as well. --- ruby/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ruby') diff --git a/ruby/Makefile.am b/ruby/Makefile.am index 361277e1..c4b680f6 100644 --- a/ruby/Makefile.am +++ b/ruby/Makefile.am @@ -54,8 +54,8 @@ all: $(generator_built) $(RAKE) build $(RAKE) rdoc -RUBY_SITELIB := $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['sitelibdir']") -RUBY_SITEARCH := $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['sitearchdir']") +RUBY_SITELIB := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']") +RUBY_SITEARCH := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['sitearchdir']") install: $(MKDIR_P) $(DESTDIR)$(RUBY_SITELIB) -- cgit