Skip to content

Commit

Permalink
Load additional paths for extra runtime dep gems
Browse files Browse the repository at this point in the history
  • Loading branch information
daveallie committed Sep 28, 2016
1 parent 95c1d9a commit 72ec33d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puma/launcher.rb
Expand Up @@ -253,6 +253,7 @@ def prune_bundler
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}"
end
Expand Down

0 comments on commit 72ec33d

Please sign in to comment.