I use Rails 5, and I halfway deployed my application through Capistrano to the server. due to the specific need for loadschema, I ssh in and cd to the release / ### directory and tried to run
rails --version # released 5.0.3beta p>
package # works, everything is installed
rails c # but this crash
run rails db: migrate also failed.
It seems that rails generic help is returning since my directory is not a rails directory.
I tried to delete the bin folder, but still the same. Does anyone know what could be wrong?

Thank you
source
share