Sha256: 0119c021e754589cc6f3e55e75f823f238dcc088b430e447db10e739eb93f2b3
Contents?: true
Size: 753 Bytes
Versions: 5
Compression:
Stored size: 753 Bytes
Contents
#!/usr/bin/env ruby # sudo ln -s /home/pi/src/procon_bypass_man/examples/practical/setting.yml /home/pi/src/procon_bypass_man/setting.yml # cd src/procon_bypass_man # sudo ruby examples/practical/app.rb require 'bundler/inline' gemfile do source 'https://rubygems.org' gem 'procon_bypass_man', github: 'splaplapla/procon_bypass_man', branch: "edge" gem 'procon_bypass_man-splatoon2', github: 'splaplapla/procon_bypass_man-splatoon2', branch: "0.1.0" end ProconBypassMan.tap do |pbm| pbm.logger = Logger.new("#{ProconBypassMan.root}/app.log", 5, 1024 * 1024 * 10) # 5世代まで残して, 10MBでローテーション pbm.logger.level = :debug pbm.root = File.expand_path(__dir__) end ProconBypassMan.run(setting_path: "./setting.yml")
Version data entries
5 entries across 5 versions & 1 rubygems