Skip to content

Instantly share code, notes, and snippets.

# Fake RubyGems
# http://gist.github.com/223216 is an expansion of Chris'
# http://gist.github.com/157899 that allows Rails to work properly
module Rip
module Commands
FAKE_RUBYGEMS = <<EOM
require 'thread'
def gem(name, *args)
raise LoadError if name =~ /adapter$/
raise Gem::LoadError unless name =~ /^rails|rack$/