Skip to content

Instantly share code, notes, and snippets.

@haileys
Last active August 29, 2015 13:56
Show Gist options
  • Save haileys/9289099 to your computer and use it in GitHub Desktop.
Save haileys/9289099 to your computer and use it in GitHub Desktop.
module Kernel
def gem(*)
# no-op
end
alias_method :require, :gem_original_require
end
# if you have `bundle --standalone` install into the standard location of ./bundle:
$:.unshift(Rails.root.join("bundle").to_s)
require "bundler/setup"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment