|
@ -1,11 +1,11 @@ |
|
|
$LOAD_PATH.unshift(File.dirname(__FILE__)) |
|
|
$LOAD_PATH.unshift(File.dirname(__FILE__)) |
|
|
|
|
|
|
|
|
require 'slack-numberman' |
|
|
|
|
|
|
|
|
require 'slack-pixiv' |
|
|
require 'web' |
|
|
require 'web' |
|
|
|
|
|
|
|
|
Thread.new do |
|
|
Thread.new do |
|
|
begin |
|
|
begin |
|
|
SlackNumberman::App.instance.run |
|
|
|
|
|
|
|
|
SlackPixiv::App.instance.run |
|
|
rescue Exception => e |
|
|
rescue Exception => e |
|
|
STDERR.puts "ERROR: #{e}" |
|
|
STDERR.puts "ERROR: #{e}" |
|
|
STDERR.puts e.backtrace |
|
|
STDERR.puts e.backtrace |
|
@ -13,4 +13,4 @@ Thread.new do |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
run SlackNumberman::Web |
|
|
|
|
|
|
|
|
run SlackPixiv::Web |