1
0
Fork 0
mirror of https://github.com/rubyjs/therubyrhino synced 2023-03-27 23:21:34 -04:00
therubyrhino/tasks/jruby.rake

8 lines
171 B
Ruby
Raw Normal View History

2009-09-24 20:06:31 -04:00
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