1sbhmg
Last Updated: February 25, 2016
·
1.622K
· leemour

Using RVM with 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 1.9.3@mygemset do ruby
Say Thanks
Respond