Permalink
Browse files

No need to alias setup and require in Bundler

  • Loading branch information...
1 parent 1c0ee5e commit 1674aef2e8921b8a10e235a6249d7b58b8b3fea4 Carl Lerche committed Apr 23, 2010
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

0 comments on commit 1674aef

Please sign in to comment.