From: "Mikael Høilund" Date: 2008-10-19T07:46:06+09:00 Subject: Re: Launch ruby script from Quicksilver On Oct 19, 2008, at 0:31, Adam Walters wrote: > If i try executing the command from the terminal i get the following: > > -bash: require: command not found Sorry, my silly mistake. It wasn't actually working. I've definitely gotten it to work now by putting the direct path to Ruby in the shebang line, instead of env. It works without setting any execute permissions. My file looks like this: --8<---- #!/usr/bin/ruby system "touch ~/Desktop/works_#{rand(65535)}" --8<---- Modify /usr/bin/ruby if that's not your Ruby's path. Make sure there are no spaces in the first line at all. Now I've gotta delete a bunch of empty files from my desktop :< -- Name = "Mikael Høilund"; Email = Name.gsub %r/\s/,%#=?,# *a=e=?=,!????,:??,?,,Email.downcase![eval(%["\\%o\\%o"]% [?**2+?o,?\\*2])]="o";Email.gsub! %%\%c%*3%a, %?%c? % ?@ def The(s)%%\%s.%%s+%.org\n.end; :Go and print The Email