Server IP : 162.213.251.208 / Your IP : 3.144.7.114 Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : jmoroovq ( 1890) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/dev/ |
Upload File : |
#!/usr/bin/env ruby # # Usage: ./dev/runner <CODE> # # Evaluates Ruby code in an environment that has the Phusion Passenger # libraries loaded. require File.expand_path(File.dirname(__FILE__) + "/../src/ruby_supportlib/phusion_passenger") PhusionPassenger.locate_directories while true if ARGV[0] =~ /^-r(.*)/ if $1.empty? lib = ARGV[1] ARGV.shift ARGV.shift else lib = $1 ARGV.shift end begin PhusionPassenger.require_passenger_lib(lib) rescue LoadError require(lib) end else break end end module PhusionPassenger p eval(ARGV.join(" ")) end