Skip to content

Commit

Permalink
forcing jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiokung committed Jun 25, 2009
1 parent 7feb7a7 commit 767a8ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 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.