I would like ruby ββscripts with the title #! /usr/bin/ruby
#! /usr/bin/ruby
executed using the currently used version of ruby ββrvm. I ran into a problem when I use the given version, but after executing the script, the system ruby ββis called. Installing RVM for each user in the system is not an option.
Problem:
ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0] /usr/bin/ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
How to do this next without performing an RVM system installation?
ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0] ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0]
source share