class ViteRuby::Commands
def verify_install
def verify_install unless File.exist?(config.root.join('bin/vite')) warn <<~WARN vite binstub not found. Have you run `bundle binstub vite_ruby`? Make sure the bin directory and bin/vite are not included in .gitignore WARN end config_path = config.root.join(config.config_path) unless config_path.exist? warn <<~WARN Configuration #{ config_path } file for vite-plugin-ruby not found. Make sure `bundle exec vite install` has run successfully before running dependent tasks. WARN exit! end end