RUNNING THE RAILS COMMAND ON SERVER
When we run the rails command on the server then we show the usage and options on the server. We are not able to run the rails commands.
If we want to run the rails commands likes:-
rails g migration ...
rails g controller ...
rails console ....
For that we need to create the bin folder in our project using this command:-
If you're using Rails 4+, regenerate your app's bin/ directory executables:
Comments