summaryrefslogtreecommitdiff
path: root/lib/bundler/dependency.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/dependency.rb')
-rw-r--r--lib/bundler/dependency.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/dependency.rb b/lib/bundler/dependency.rb
index b627b58662..828fcbbad9 100644
--- a/lib/bundler/dependency.rb
+++ b/lib/bundler/dependency.rb
@@ -33,11 +33,11 @@ module Bundler
to_gem_dependency.to_s
end
- def require(environment)
+ def require_env(environment)
return unless in?(environment)
@require_as.each do |file|
- super(file)
+ require file
end
@block.call if @block