Unable to Run Sinatra inside Project


#1

When I try to run Sinatra at under …folder name… like ruby app.rb -p $PORT -o $IP the process immediately returns and doesn’t bind to the IP or Port as a listener. I can connect with a browser if I put a puts statement in the controller file my message is printed to the console and then the process just exits no web server runs