On Mar 4, 2004, at 7:56 PM, Bermejo, Rodrigo wrote: > if you are on linux/unix > >> works fine. What am I missing? > > the ./ (dot slash) to indicate where you executable resides > $chmod +x hello > $./hello > That's not it. I have hello and tst1 through tst7. They are all executable and all have the same first line. All but hello work with a direct call. There is something about this script that is causing a problem: $ cat hello #! /usr/bin/env ruby class Hello attr_reader :msg def initialize @msg = "Hello, World" end end h = Hello.new puts h.msg