mina-deploy / mina

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

Unable to run any rails command in the project server folder #645

Closed sebackend closed 5 years ago

sebackend commented 5 years ago

When i trying to run this command from the project folder in the server RAILS_ENV=production rails console

it shows this message

The program 'rails' is currently not installed. You can install it by typing:
sudo apt install ruby-railties

What am i missing? I have no errors if i run mina console

But i want to be able to make changes from the project server folder too

With Capistrano, i can do this if i go with cd to the current directory

Any idea?

sebackend commented 5 years ago

My bad, it was only necessary to install the properly Rails version and go to the current directory to get this working 🤦‍♂

Closed.