Last Updated: February 25, 2016
·
642
· vikhyat

RVM Shebang

If you want a directly executable Ruby script to use a specific version of ruby, then use the following line as the shebang instead of #!/urs/bin/env ruby.

#!/usr/bin/env  rvm jruby do ruby