mina-deploy / mina

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

NameError: undefined local variable or method `user' for main:Object #606

Closed surajit closed 4 years ago

surajit commented 6 years ago

I'm using ruby-2.4.2 and rails 4.2.10 When I'm trying to run mina setup I'm getting this issues, please help how to solve it. I need this fixed badly, please suggest what I need to do.

NBuhinicek commented 4 years ago

Hey

It seems like you have a type with a model name.

You probably had a user instead of User at some point of your code.