Skip to content

Instantly share code, notes, and snippets.

@nikhgupta
Created April 1, 2012 17:12
Show Gist options
  • Save nikhgupta/2277137 to your computer and use it in GitHub Desktop.
Save nikhgupta/2277137 to your computer and use it in GitHub Desktop.
Ruby Scripting Example
#!/usr/bin/env ruby
puts "hello!"
puts "location to env: #{`which env`}"
puts "location to ruby: #{`which ruby`}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment