D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
puma-3.8.2
/
bin
/
Filename :
puma-wild
back
Copy
#!/usr/bin/env ruby # # Copyright (c) 2014 Evan Phoenix # require 'rubygems' gems = ARGV.shift inc = "" if gems == "-I" inc = ARGV.shift $LOAD_PATH.concat inc.split(":") gems = ARGV.shift end gems.split(",").each do |s| name, ver = s.split(":",2) gem name, ver end module Puma; end Puma.const_set("WILD_ARGS", ["-I", inc, gems]) require 'puma/cli' cli = Puma::CLI.new ARGV cli.run