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>'
【エラー】
C:/Ruby25-x64/lib/ruby/2.5.0/erb.rb:872:in `block in result': no implicit conversion of Hash into Integer (TypeError)
from C:/Ruby25-x64/lib/ruby/2.5.0/erb.rb:874:in `result'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.9.1/lib/template.rb:53:in `block in get'