From: "Adam Ms." Date: 2012-02-07T06:25:19+09:00 Subject: Re: ruby executable on ubuntu Jeremy Bopp wrote in post #1044412: > On 02/06/2012 01:50 PM, Adam Ms. wrote: >>>> Add a ruby shebang and chmod +x >>> >>> This may not be the best possible solution unless you can safely rely on >> >> I think this will work with RVM on Ubuntu: >> >> #!/usr/bin/env ruby > > It will only work when running from Nautilus or similar file browsing >> -Jeremy Yes, you are correct! How about this for the desktop launcher command line: rvm use 1.9.2-p180 do /home/adam/bin/test1.rb -- Posted via http://www.ruby-forum.com/.