mirror of
https://github.com/rubyjs/therubyrhino
synced 2023-03-27 23:21:34 -04:00
7 lines
171 B
Ruby
7 lines
171 B
Ruby
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
|