about summary refs log tree commit homepage
path: root/local.mk.sample
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-04 00:21:58 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-04 00:21:58 +0000
commit7ca6682fac2a30a69834b46a678ec956db4a45e9 (patch)
tree3971b55ca730810b3027ff2efb46d7241c7a204c /local.mk.sample
parent50f764fcbc0ef84fd0589d16179fed637d817b19 (diff)
downloadrainbows-7ca6682fac2a30a69834b46a678ec956db4a45e9.tar.gz
Now that 1.9.2 preview3 is available and usable, it'll
be added to the list of Rubies we run and officially
support.
Diffstat (limited to 'local.mk.sample')
-rw-r--r--local.mk.sample21
1 files changed, 15 insertions, 6 deletions
diff --git a/local.mk.sample b/local.mk.sample
index 25a08e5..64089f2 100644
--- a/local.mk.sample
+++ b/local.mk.sample
@@ -11,12 +11,19 @@ DLEXT := so
 # fork+exec heavy with Ruby.
 prefix = $(HOME)
 
-ifeq ($(r19),)
-  RUBY := $(prefix)/bin/ruby
+ifeq ($(r192),)
+  ifeq ($(r19),)
+    RUBY := $(prefix)/bin/ruby
+  else
+    prefix := $(prefix)/ruby-1.9
+    export PATH := $(prefix)/bin:$(PATH)
+    RUBY := $(prefix)/bin/ruby --disable-gems
+  endif
 else
-  prefix := $(prefix)/ruby-1.9
+  prefix := $(prefix)/ruby-1.9.2
   export PATH := $(prefix)/bin:$(PATH)
   RUBY := $(prefix)/bin/ruby --disable-gems
+  gem_paths := $(addprefix $(prefix)/lib/ruby/gems/1.9.1/gems/,$(gems))
 endif
 
 ifndef NO_ISOLATE
@@ -43,11 +50,13 @@ SHELL := /bin/ksh93 -e -o pipefail
 # TRACER = strace -f -o $(t_pfx).strace -s 100000
 TRACER = /usr/bin/time -v -o $(t_pfx).time
 
-full-test: test-18 test-19
+full-test: test-18 test-191 test-192
 test-18:
         $(MAKE) test 2>&1 | sed -e 's!^!1.8 !'
-test-19:
-        $(MAKE) test r19=T 2>&1 | sed -e 's!^!1.9 !'
+test-191:
+        $(MAKE) test r19=T 2>&1 | sed -e 's!^!1.9.1 !'
+test-192:
+        $(MAKE) test r192=T 2>&1 | sed -e 's!^!1.9.2 !'
 
 latest: NEWS
         @awk 'BEGIN{RS="=== ";ORS=""}NR==2{sub(/\n$$/,"");print RS""$$0 }' < $<