Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No need to alias setup and require in Bundler

  • Loading branch information...
commit 1674aef2e8921b8a10e235a6249d7b58b8b3fea4 1 parent 1c0ee5e
Carl Lerche authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/bundler.rb
View
6 lib/bundler.rb
@@ -69,7 +69,7 @@ def bundle_path
end
end
- def gem_setup(*groups)
+ def setup(*groups)
return @setup if @setup
begin
@@ -90,12 +90,10 @@ def gem_setup(*groups)
exit!
end
end
- alias setup gem_setup unless Bundler.respond_to?(:setup)
- def gem_require(*groups)
+ def require(*groups)
setup(*groups).require(*groups)
end
- alias require gem_require unless Bundler.respond_to?(:require)
def load
@load ||= runtime
Please sign in to comment.
Something went wrong with that request. Please try again.