Skip to content

Instantly share code, notes, and snippets.

@ddribin
Created September 1, 2011 18:54
Show Gist options
  • Save ddribin/1186947 to your computer and use it in GitHub Desktop.
Save ddribin/1186947 to your computer and use it in GitHub Desktop.
#!/bin/sh
# OBJC_HELP=1 causes the Objective-C runtime to spit out help to stderr
# Pulling in osx/cocoa causes the runtime to be loaded via RubyCocoa
# Redirect sterr to stdout so we can pipe the results through pager
OBJC_HELP=1 /usr/bin/ruby -rosx/cocoa -e '' 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment