Why won't my Ruby script execute?
So, I made a simply ruby script, #!/usr/bin/env ruby puts "Hello!" When I try to run it in terminal it doesn't put "Hello!" on the screen. I have tried entering chmod +x test.rb ( test.rb is the name of my file). When I run it, it doesn't give me an error, it just doesn't display "Hello!". Any help will be much appreciated. I have looked everywhere for a possible answer, and I have found nothing so far. I'd guess that you're trying to run it as just test like this: $ test But test is a bash builtin command that doesn't produce any output, it just sets a return value. If you run your script