最適化 #983 » 0001-check-command-line-args-before-running-bundler-setup.patch
mikutter.rb | ||
---|---|---|
13 | 13 |
=end |
14 | 14 |
mikutter_directory = File.expand_path(File.dirname(__FILE__)) |
15 | 15 | |
16 |
require File.expand_path(File.join(mikutter_directory, 'core/boot/option')) |
|
17 |
Mopt.parse exec_command: true |
|
18 | ||
16 | 19 |
if !ENV['DISABLE_BUNDLER_SETUP'] || ['', '0'].include?(ENV['DISABLE_BUNDLER_SETUP'].to_s) |
17 | 20 |
begin |
18 | 21 |
ENV['BUNDLE_GEMFILE'] = File.expand_path(File.join(File.dirname($0), "Gemfile")) |
... | ... | |
30 | 33 |
require 'thread' |
31 | 34 |
require 'fileutils' |
32 | 35 | |
33 |
require File.expand_path(File.join(mikutter_directory, 'core/boot/option')) |
|
34 |
Mopt.parse exec_command: true |
|
35 | 36 |
require File.expand_path(File.join(mikutter_directory, 'core/utils')) |
36 | 37 | |
37 | 38 |
miquire :boot, 'check_config_permission', 'mainloop', 'delayer' |