mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.34k stars 491 forks source link

mina init fails with NoMethodError: undefined method `exists?' for File:Class #721

Closed snex closed 9 months ago

snex commented 1 year ago

As of ruby 3.2.0, File.exists? has been renamed to File.exist?

gior commented 1 year ago

I had the same problem. It looks like it has been already fixed on master, as of today. Those who do not want to downgrade to ruby 3.1 can use gem 'mina', github: 'mina-deploy/mina' in their Gemfile until a new version of the gem is published.

jlkwarteng commented 11 months ago

Using gem 'mina', github: 'mina-deploy/mina' did not seem to work for me @gior

lovro-bikic commented 9 months ago

This has been resolved in v1.2.5.