Tag Archives: rails s

rails server fails to start – bin/rails:6: warning: previous definition of APP_PATH was here

If rails server fails to start for you due to APP_PATH issue below: I was able to fix the above issue in two ways: You can either comment out the spring gem or do the following instead, which I recommend: From within your project directory, do the following: Do the following at your own risk!!! […]

Rails and rake db:migrate in Production Mode

There are some inconsistencies when running rails server, rails console and rake db:migrate in production mode. There really should be a standard way to let the rails and rake commands know you want to execute them in production mode. Starting Rails Server in Production Mode Starting Rails Console in Production Mode rake db:migrate in Production […]