From: "D. Deryl Downey" Date: 2012-12-27T14:28:11+09:00 Subject: Re: using shebang with rvm? Its no different with RVM than without. RVM is just a set of scripts that downloads, compiles and installs various rubies for you. It also makes gem sets as well. The gem sets are just symlinked directories. RVM then sets the GEM_HOME, RUBY_HOME, and various shell variables that Ruby normally reads. This means that once you install Ruby via RVM and tell it which one you want to use, it sets the vars and its done. After that its all Ruby itself. So, to answer your question, you would use #!/usr/bin/env as the first line. D. Deryl Downey "The bug which you would fright me with I seek" - William Shakespeare - The Winter's Tale, Act III, Scene II - A court of Justice. On Dec 26, 2012, at 11:53 PM, Wesley Rishel wrote: > What would be the appropriate path to use after a shebang in the first > line of a ruby source, if I want to use the currently active rvm > version of Ruby? > > I am currently using rvm 1.17.3 > > I hope it doesn't matter, but just in case I am on Mountain Lion. > > -- > Posted via http://www.ruby-forum.com/. >