Skip to content

Commit

Permalink
Don't load extra dependencies, just add their paths to $LOAD_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
daveallie committed Jun 27, 2019
1 parent b039ae9 commit f864b23
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/puma/launcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ def prune_bundler
@options[:extra_runtime_dependencies].each do |d_name|
spec = Bundler.rubygems.loaded_specs(d_name) rescue nil
if spec
deps << "#{d_name}:#{spec.version.to_s}"
dirs += spec.require_paths.map { |x| File.join(spec.full_gem_path, x) }
else
log "* Couldn't to load extra dependency: #{d_name}"
Expand Down

0 comments on commit f864b23

Please sign in to comment.