summaryrefslogtreecommitdiff
path: root/baserockimport/exts/importer_bundler_extensions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'baserockimport/exts/importer_bundler_extensions.rb')
-rw-r--r--baserockimport/exts/importer_bundler_extensions.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/baserockimport/exts/importer_bundler_extensions.rb b/baserockimport/exts/importer_bundler_extensions.rb
index 88c82e2..8eba91b 100644
--- a/baserockimport/exts/importer_bundler_extensions.rb
+++ b/baserockimport/exts/importer_bundler_extensions.rb
@@ -44,9 +44,7 @@ module Importer
matches[0]
end
- def create_bundler_definition_for_gemspec(gem_name, path)
- gemspec_file = locate_gemspec(gem_name, path)
-
+ def create_bundler_definition_for_gemspec(gem_name, gemspec_file)
# Using the real Gemfile doesn't get great results, because people can put
# lots of stuff in there that is handy for developers to have but
# irrelevant if you just want to produce a .gem. Also, there is only one