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 Jul 3, 2018
1 parent dee84c7 commit 119172d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/puma/launcher.rb
Expand Up @@ -266,7 +266,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 119172d

Please sign in to comment.