Read more

Ruby Scripts: Select the Ruby version in the shebang

Dominik Schöler
May 27, 2013Software engineer at makandra GmbH

As Bill Dueber has on his blog, you can call rvm in the shebang to select a Ruby version like this:

 #!/usr/bin/env rvm 1.9 do ruby
Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

Standard arguments to do apply, see $> rvm help do.

Posted by Dominik Schöler to makandra dev (2013-05-27 14:18)