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
Written by Vikhyat Korrapati
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#