Permalink
Browse files

forcing jruby

  • Loading branch information...
fabiokung committed Jun 25, 2009
1 parent 7feb7a7 commit 767a8eeb689b2d9af93dfd4ccaa38ff5fa7f1ef5
Showing with 7 additions and 0 deletions.
  1. +7 −0 tasks/jruby.rake
@@ -0,0 +1,7 @@
if RUBY_PLATFORM =~ /java/
require 'java'
else
puts "Java RubyGem only! You are not running within jruby."
puts "Try: jruby -S rake #{ARGV.join(' ')}"
exit(1)
end

0 comments on commit 767a8ee

Please sign in to comment.