mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
809a3f4c7b
* Allow extra runtime deps to be defined when using prune_bundler * Check extra_runtime_dependencies is set before iterating over them * Load additional paths for extra runtime dep gems * Don't load extra dependencies, just add their paths to $LOAD_PATH * Fix typos and extraneous checks and rescues * Use Gem::Specification#full_require_paths when available * Prevent use of prune_bundler and extra_runtime_dependencies with early versions of RubyGems * Ensure LOAD_PATH is modified by extra_runtime_dependencies * Refactor prune_bundler in launcher.rb and write some unit tests
3 lines
51 B
Ruby
3 lines
51 B
Ruby
run lambda { |env|
|
|
[200, {}, [$LOAD_PATH[-1]]]
|
|
}
|