Jacob V. wrote in post #1130886:
> Do you need the 'bang' - ! - in your shebang?
>
> #!/ vs. #/
>
> (I use Windows.)

I tried it with the screamer (!), but, I still get the same results.

If I run the script like this in my Mac shell, I'm alright.

  ruby checkorca.rb dy3242g1

Normally, I run it like this:

   checkorca dy3242g1

because, I have a simple script in my scripts directory called 
"checkorca" that simply calls out the Ruby script.

If I run this, it doesn't run either.

  checkorca.rb dy3242g1

It's like there's some disconnect with Ruby itself, or, at least, the 
Ruby version I'm running. I used rbenv to install my Ruby.

-- 
Posted via http://www.ruby-forum.com/.