Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

uninitialized constant ModService::Tempfile (NameError) #4

Open
frgnca opened this issue Aug 25, 2018 · 0 comments
Open

uninitialized constant ModService::Tempfile (NameError) #4

frgnca opened this issue Aug 25, 2018 · 0 comments

Comments

@frgnca
Copy link

frgnca commented Aug 25, 2018

While running

$ sudo /opt/factorio-mod-updater/factorio-mod-updater

here was the output

Checking Factorissimo2, ScorchedEarth
Connecting to mods.factorio.com
Factorissimo2 by MagmaMcFry 2.2.3
        Installing
/opt/factorio-mod-updater/factorio-mod-updater:24:in `download': uninitialized constant ModService::Tempfile (NameError)
        from /opt/factorio-mod-updater/factorio-mod-updater:85:in `block in <main>'
        from /opt/factorio-mod-updater/factorio-mod-updater:76:in `each'
        from /opt/factorio-mod-updater/factorio-mod-updater:76:in `<main>'

Adding the following line to factorio-mod-updater seemed to solve the problem for me

require 'tempfile'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant