I have deployed a rails application using capistrano on a linux server and it is running without any problems. When I connect to my remote server via ssh, the folder structure of my app is quite different from what I have on my local machine. I would like to go to project root and say rails console
so that I can have access to the console of my application. Is there a way to achieve this?
When I go to ~MyApp/
folder and run rails console
it says command rails not found. I think that is probably because the app is running in another folder.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…