J
Jim Freeze
When using env on the shebang line,
how to I pass arguments to Ruby under OS X?
Doing the following gives me an error on OS X, but
works on FreeBSD and Sun:
% cat w.rb
#! /usr/bin/env ruby -w
% puts "hi"
./w.rb
env: ruby -w: No such file or directory
how to I pass arguments to Ruby under OS X?
Doing the following gives me an error on OS X, but
works on FreeBSD and Sun:
% cat w.rb
#! /usr/bin/env ruby -w
% puts "hi"
./w.rb
env: ruby -w: No such file or directory