marvinscham / disenchanter

A tool to mass disenchant champion shards and other League of Legends loot.
MIT License
109 stars 9 forks source link

Cannot update/use disenchanter after V14.10 (2.0.0) update #187

Closed supermarth64 closed 5 months ago

supermarth64 commented 5 months ago

Screenshot Untitled

Description (if necessary)

Version v2.0.0

marvinscham commented 5 months ago

@supermarth64 Thanks for taking the time to report! I've replaced the broken disenchanter.exe with a new one fixing this. You can download it from the v2.0.0 page once again.

marvinscham commented 5 months ago

Docs in case someone has a similar problem:

Error was:

./disenchanter.exe
<internal:C:/Users/User/AppData/Local/Temp/ocr43B0.tmp/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.19/lib/bundler/
setup (LoadError)
        from <internal:C:/Users/User/AppData/Local/Temp/ocr43B0.tmp/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:136:in `require'

This happened because I used bundle exec ocran instead of just ocran to build the exe, which at some point seems to introduce an absolute reference to bundler's path on the build machine. This breaks the app unless you have bundler installed, which is why the error didn't occur when testing locally.