Please Login to Continue

Free Software Development Articles.Email List
How to Draw Realistic Photos (E-Book)

How to Draw Realistic Photos (E-Book)

$1

Why Software Development Need Ethics to Succeed (E-Book)

Why Software Development Need Ethics to Succeed (E-Book)

$1

How to Make a Social Media Website in Easy Steps

How to Make a Social Media Website in Easy Steps

$1

Solved!! Ruby on Rails Server Wont Start Error

When you run "rails s -b 0.0.0.0" into a bash command console and the Rails Server does not start, look at the logs and determine what the error is. If you can't pinpoint exactly what the error is saying, try to remember what you did before you shut off Rails Server. Below are the possibilities of what could be going on:

  1. Check in your routing.rb file and see if there are any lines of code that are not supposed to be in there
  2. Check in your development.rb file in the Environment Folder for any lines of code that is not suppose to be in there (This folder contains environment files that sets whether the environment you are working in is a development, staging or production)
  3. Lastly, if you haven't resolved the issue yet, try to copy the error and paste it in Google Search, remember Google Search is like a database, know the tips and tricks to the different styles of googling. That is how you find information, try to change how you query/search. If you don't find the answers try to change the wording of your query or wrap the whole error phrase into a quotation mark "Error comes in there" and paste that query into the search box. 
 The error might look like this 
=> Booting Puma
=> Rails 5.2.3 application starting in development
=> Run `rails server -h` for more startup options
Exiting
Traceback (most recent call last):
        64: from bin/rails:3:in `
Technology published
Buy Me Coffee

Was this page helpful?

Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful..



© 2020 - ErnesTech - Privacy