Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created September 27, 2012 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliandunn/3796891 to your computer and use it in GitHub Desktop.
Save juliandunn/3796891 to your computer and use it in GitHub Desktop.
rubygems hax0rry
[vagrant@vagrant-centos-6 1.8]$ pwd
/usr/lib/ruby/site_ruby/1.8
[vagrant@vagrant-centos-6 1.8]$ cat ubygems.rb
# This file allows for the running of rubygems with a nice
# command line look-and-feel: ruby -rubygems foo.rb
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++
require 'rubygems'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment