-
-
Save headius/e74ec3e067b397f71080 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system ~ $ ls -l blah.rb ; cat blah.rb | |
-rwxr-xr-x 1 headius staff 53 Dec 12 03:41 blah.rb | |
#!/Users/headius/foo | |
puts 'this should run in Ruby' | |
system ~ $ ls -l foo ; cat foo | |
-rwxr-xr-x 1 headius staff 21 Dec 12 03:41 foo | |
#!/bin/bash | |
ruby $@ | |
system ~ $ ./blah.rb | |
./blah.rb: line 3: puts: command not found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment