Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

narou web実行時にtilt/erubis (LoadError)が出力され完了しない #443

Open
kokotaro opened this issue Dec 22, 2024 · 2 comments · May be fixed by #444
Open

narou web実行時にtilt/erubis (LoadError)が出力され完了しない #443

kokotaro opened this issue Dec 22, 2024 · 2 comments · May be fixed by #444

Comments

@kokotaro
Copy link

https://jbbs.shitaraba.net/bbs/read.cgi/computer/44668/1716423212/167 参照

以下の環境にてエラー発生して起動しない。再現確認時にJAVAをjdk-8u431へ変更しても状況に変化ありません。
掲示板には tiltのバージョン 2.5.0が要因というコメントあり、実際に2.3.0、2.4.0では未発生の状況です。

narou:3.9.1
ruby:3.3.6
JAVA:openjdk version "21.0.5" 2024-10-15 LTS
AozoraEpub3:1.1.0b46

internal:C:/Ruby33-x64/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb:136:in require': cannot load such file -- tilt/erubis (LoadError) from <internal:C:/Ruby33-x64/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in require'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/web/appserver.rb:15:in <top (required)>' from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/web/all.rb:7:in require_relative'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/web/all.rb:7:in <top (required)>' from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/web.rb:118:in require_relative'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/web.rb:118:in boot' from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/web.rb:87: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 `

'

@hauu
Copy link

hauu commented Dec 30, 2024

ruby 3.4.1でもtilt2.5.0の影響で起動しません 2.4.0に下げたら起動しました

narou 3.9.1
openjdk version "21.0.5" 2024-10-15 LTS
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x64-mingw-ucrt]
AozoraEpub3-1.1.1b30Q

@rogenobl
Copy link
Contributor

rogenobl commented Jan 3, 2025

対処法としては

  • tiltのバージョンを2.5未満に制限する
  • erubisの後継のerubiに移行する
  • 標準付属のerbにする

ググった感じerubisとerubiは互換っぽいので、それがいい気がする。

@rogenobl rogenobl linked a pull request Jan 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants