(続き)
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1659:in 'IO.open'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1659:in 'block in Net::HTTP#connect'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/timeout.rb:185:in 'block in Timeout.timeout'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/timeout.rb:192:in 'Timeout.timeout'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1657:in 'Net::HTTP#connect'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1636:in 'Net::HTTP#do_start'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1625:in 'Net::HTTP#start'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:351:in 'OpenURI.open_http'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:825:in 'URI::HTTP#buffer_open'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:233:in 'block in OpenURI.open_loop'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:231:in 'Kernel#catch'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:231:in 'OpenURI.open_loop'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:163:in 'OpenURI.open_uri'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/open_uri_redirections-0.2.1/lib/open-uri/redirections_patch.rb:55:in 'OpenURI.open_uri'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:805:in 'OpenURI::OpenRead#open'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:29:in 'URI.open'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:731:in 'Downloader#get_toc_source'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:840:in 'block in Downloader#get_subtitles_multipage'
from <internal:numeric>:257:in 'Integer#times'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:834:in 'Downloader#get_subtitles_multipage'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:789:in 'Downloader#get_latest_table_of_contents'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:351:in 'Downloader#run_download'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:334:in 'Downloader#start_download'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/command/update.rb:182:in 'block in Command::Update#execute'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/command/update.rb:157:in 'Array#each'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/command/update.rb:157:in 'Enumerable#each_with_index'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/command/update.rb:157:in 'Command::Update#execute'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/commandbase.rb:125:in 'Command::CommandBase#execute!'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/commandbase.rb:134:in 'Command::CommandBase.execute!'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/commandline.rb:29:in 'CommandLine.run'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/commandline.rb:43:in 'CommandLine.run!'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/narou.rb:50:in 'block in <top (required)>'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/backtracer.rb:16:in 'Narou::Backtracer.capture'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/narou.rb:49:in '<top (required)>'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/bin/narou:13:in 'Kernel#require_relative'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/bin/narou:13:in '<top (required)>'
from /opt/homebrew/lib/ruby/gems/3.4.0/bin/narou:25:in 'Kernel#load'
from /opt/homebrew/lib/ruby/gems/3.4.0/bin/narou:25:in '<main>'
c:\MyNovel>narou web ui
<internal:C:/Ruby34-x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:141:in 'Kernel#require': cannot load such file -- tilt/erubis (LoadError)
from <internal:C:/Ruby34-x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:141:in 'Kernel#require'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/web/appserver.rb:15:in '<top (required)>'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/web/all.rb:7:in 'Kernel#require_relative'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/web/all.rb:7:in '<top (required)>'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/command/web.rb:118:in 'Kernel#require_relative'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/command/web.rb:118:in 'Command::Web#boot'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/command/web.rb:87:in 'Command::Web#execute'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/commandbase.rb:125:in 'Command::CommandBase#execute!'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/commandbase.rb:134:in 'Command::CommandBase.execute!'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/commandline.rb:29:in 'CommandLine.run'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/commandline.rb:43:in 'CommandLine.run!'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/narou.rb:50:in 'block in <top (required)>'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/backtracer.rb:16:in 'Narou::Backtracer.capture'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/narou.rb:49:in '<top (required)>'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/bin/narou:13:in 'Kernel#require_relative'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/bin/narou:13:in '<top (required)>'
from C:/Users/arity/AppData/Local/Microsoft/WindowsApps/narou:36:in 'Kernel#load'
from C:/Users/arity/AppData/Local/Microsoft/WindowsApps/narou:36:in '<main>'
<internal:C:/Ruby34-x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require': cannot load such file -- tilt/erubis (LoadError)
from <internal:C:/Ruby34-x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/web/appserver.rb:15:in '<top (required)>'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/web/all.rb:7:in 'Kernel#require_relative'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/web/all.rb:7:in '<top (required)>'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/command/web.rb:118:in 'Kernel#require_relative'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/command/web.rb:118:in 'Command::Web#boot'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/command/web.rb:87:in 'Command::Web#execute'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/commandbase.rb:125:in 'Command::CommandBase#execute!'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/commandbase.rb:134:in 'Command::CommandBase.execute!'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/commandline.rb:29:in 'CommandLine.run'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/commandline.rb:43:in 'CommandLine.run!'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/narou.rb:50:in 'block in <top (required)>'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/lib/backtracer.rb:16:in 'Narou::Backtracer.capture'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/narou.rb:49:in '<top (required)>'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/bin/narou:13:in 'Kernel#require_relative'
from C:/Users/arity/.local/share/gem/ruby/3.4.0/gems/narou-3.9.1/bin/narou:13:in '<top (required)>'
from C:/Users/arity/AppData/Local/Microsoft/WindowsApps/narou:36:in 'Kernel#load'
from C:/Users/arity/AppData/Local/Microsoft/WindowsApps/narou:36:in '<main>'
c:\MyNovel>ruby -version
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x64-mingw-ucrt]
-e:1:in '<main>': undefined local variable or method 'rsion' for main (NameError)
JAVAも21を入れましたが、相変わらずです。。。
c:\MyNovel>narou web ui
<internal:C:/Ruby34-x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:141:in 'Kernel#require': cannot load such file -- tilt/erubis (LoadError)
エラーログ
C:/Ruby33-x64/lib/ruby/3.3.0/fileutils.rb:402:in `mkdir': Invalid argument @ dir_s_mkdir - D:/Narou/Mynovel/小説データ/<th>掲載サイト< (Errno::EINVAL)
from C:/Ruby33-x64/lib/ruby/3.3.0/fileutils.rb:402:in `fu_mkdir'
from C:/Ruby33-x64/lib/ruby/3.3.0/fileutils.rb:380:in `block (2 levels) in mkdir_p'
from C:/Ruby33-x64/lib/ruby/3.3.0/fileutils.rb:378:in `reverse_each'
from C:/Ruby33-x64/lib/ruby/3.3.0/fileutils.rb:378:in `block in mkdir_p'
from C:/Ruby33-x64/lib/ruby/3.3.0/fileutils.rb:370:in `each'
from C:/Ruby33-x64/lib/ruby/3.3.0/fileutils.rb:370:in `mkdir_p'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/downloader.rb:1320:in `init_novel_dir'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/downloader.rb:364:in `run_download'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/downloader.rb:334:in `start_download'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/download.rb:142:in `block in execute'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/download.rb:110:in `each'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/download.rb:110:in `with_index'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/download.rb:110:in `execute'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/commandline.rb:29:in `run'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/commandline.rb:43:in `run!'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/narou.rb:50:in `block in <top (required)>'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/narou.rb:49:in `<top (required)>'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/bin/narou:13:in `require_relative'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/bin/narou:13:in `<top (required)>'
from C:/Ruby33-x64/bin/narou:32:in `load'
from C:/Ruby33-x64/bin/narou:32:in `<main>'