README.md in multi_ruby_runner-1.0.3 vs README.md in multi_ruby_runner-1.0.4
- old
+ new
@@ -80,18 +80,18 @@
### Ruby scripts to call
Here is an example Ruby script that can be called via MultiRubyRunner:
#!/usr/bin/env ruby
-
+
# This is an example callee script for MultiRubyRunner
-
+
require_relative '../lib/path/to/your/ruby/code'
-
+
# Check for arguments
arg1 = ARGV[0]
arg2 = ARGV[1]
-
+
# Puts will return some text to STDOUT
puts "The current time is #{ Time.now }"
Please note that even if you use JRuby, you keep `ruby` in the shebang. Your Ruby version manager will make sure that the code will be executed by JRuby.