Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
sebackend opened this issue Jul 3, 2019 · 1 comment
Closed

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

sebackend opened this issue Jul 3, 2019 · 1 comment

Comments

@sebackend
Copy link

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
Copy link
Author

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

Closed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant