diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/runtime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb index 6fae25d858..dc25b116df 100644 --- a/lib/bundler/runtime.rb +++ b/lib/bundler/runtime.rb @@ -64,7 +64,7 @@ module Bundler rescue LoadError => e raise if dep.autorequire || e.path != required_file - if dep.autorequire.nil? && required_file.include?("-") + if required_file.include?("-") required_file = required_file.tr("-", "/") retry end |