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

0.1.22 Fixes to support Vagrant 2.4.3 #126

Open
JoelProminic opened this issue Dec 4, 2024 · 0 comments
Open

0.1.22 Fixes to support Vagrant 2.4.3 #126

JoelProminic opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@JoelProminic
Copy link
Contributor

@PanProminic and @piotrzarzycki21 reported some errors with Vagrant 2.4.3:

  1. First was:

Path: /Users/piotrzarzycki/Library/Application Support/SuperHumanInstallerDev/servers/demo-tasks/6530/core/Hosts.rb
Line number: 0
Message: undefined method `exists?'

I resolved it by changing that method to 'exist' - exists seems to be deprecated with newest Ruby. After my changes I got:

There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path:
Line number: 175
Message: NoMethodError: undefined method `=~' for an instance of Integer
[SHI]: 'vagrant up' stopped with exit code: 1, elapsed time: 00:00:01

Issue is in Hosts.rb file in line 175 - I did tweak that part and it's working for me, but it is rather workaround. I just wanted to point you and bring this to your attention, because some of us may want to upgrade stuff on their system and bump into these issues.

I think we can resolve these problems in this file: https://github.com/Moonshine-IDE/Super.Human.Installer/blob/master/Assets/provisioners/demo-tasks/0.1.22/scripts/core/Hosts.rb

Note that this is already fixed in the 0.1.23 provisioners, which are not merged yet (#118). However, the 0.1.22 provisioners will still be available in the UI unless we remove them.

@JoelProminic JoelProminic added the bug Something isn't working label Dec 4, 2024
@JoelProminic JoelProminic added this to the v0.11.0 milestone Dec 4, 2024
@JoelProminic JoelProminic self-assigned this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant