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
# 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$/ |