summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-11-03 21:47:47 +0000
committermurphy <murphy@rubychan.de>2009-11-03 21:47:47 +0000
commit1982b2bf7e7bfa333838cf2f3e7613c00d2a67c3 (patch)
treee600847fee8b29dbe252de6e0abea2840ead41ab /Rakefile
parent764afed59060085123304b53a711d3c1bab5ac86 (diff)
downloadcoderay-1982b2bf7e7bfa333838cf2f3e7613c00d2a67c3.tar.gz
Support for JRuby Nailgun: Use rake jng to run Ruby tasks with jruby --ng.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 8abd9e8..6796f16 100644
--- a/Rakefile
+++ b/Rakefile
@@ -51,6 +51,11 @@ task 'jruby19' do
end
task :j19 => :jruby19
+task 'jruby-nailgun' do
+ RUBY.replace 'jruby --ng'
+end
+task :jng => :'jruby-nailgun'
+
task 'rubinius' do
RUBY.replace 'rbx'
end