Consider this scenario:
I had an application using Rails version 4.0.0. My goal was to upgrade it to Rails 4.1.9. To do this, I tried to perform it step by step: first, to version 4.0.13, then 4.1, and finally 4.1.9.
Everything went smoothly. All tests passed using RSpec.
Finally, I tried to start my server using rails s . Booom! Rubin crashed. Then I used bin/rails s . Everything went fine.
Therefore, I think that if you have a different version of the rails configured on your system, it is safer to use the bin/rails option.
PS To make sure my assumption is correct, I uninstalled the entire rails version except 4.1.9, and then tried to restart the server using rails s . There are no glitches this time.
Hope this clarifies.
source share