Skip to content

Instantly share code, notes, and snippets.

@joelmccracken
Created November 16, 2012 03:07
Show Gist options
  • Save joelmccracken/4083628 to your computer and use it in GitHub Desktop.
Save joelmccracken/4083628 to your computer and use it in GitHub Desktop.
#!/bin/bash
ruby $1
#!/Users/joelmccracken/bin/run_ruby.sh
puts "hello"
@joelmccracken
Copy link
Author

bash-3.2$ ./say_hi.rb
./say_hi.rb:3: puts: command not found

bash-3.2$ bin/run_ruby.sh say_hi.rb
hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment