Sha256: 9311df19486c56f74b0bb2f9c0deb13c718d11290bba87b35b7f874744554645
Contents?: true
Size: 825 Bytes
Versions: 3
Compression:
Stored size: 825 Bytes
Contents
#!C:/Ruby193/bin/ruby.exe if ARGV.first == "start" ARGV.shift ARGV = ["exec", "thin", "start"] + ARGV Dir.chdir( ARGV[ARGV.index("-c")+1] ) # use same ruby for bundle exec, in case global path is different ENV["Path"] = RbConfig::CONFIG['bindir'] + ';' + ENV["Path"] version = "> 0" gem 'bundler', version load Gem.bin_path('bundler', 'bundle', version) elsif ARGV.first == "daemon" ARGV.shift ARGV.shift Dir.chdir( ARGV.shift ) ARGV = ["exec"] + ARGV # use same ruby for bundle exec, in case global path is different ENV["Path"] = RbConfig::CONFIG['bindir'] + ';' + ENV["Path"] version = "> 0" gem 'bundler', version load Gem.bin_path('bundler', 'bundle', version) else require 'thin_service' ThinService::Service.new(ARGV).run! end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thin_service-0.0.7 | bin/thin_service |
thin_service-0.0.6 | bin/thin_service |
thin_service-0.0.5 | bin/thin_service |