Unable to start the web application from localhost:3000(ruby on rails)

Posted by vipin8169 on Ask Ubuntu See other posts from Ask Ubuntu or by vipin8169
Published on 2012-10-30T10:17:26Z Indexed on 2012/10/30 11:21 UTC
Read the original article Hit count: 368

Filed under:
|
|

I had created a demo web application by executing rails tickets and then i executed rails script/server to run it on localhost.

Initially i was able to execute the application in the browser by typing localhost:3000 in the address bar, but then I deleted the folder tickets from my hard disk.

Now again i created the same folder but when i try to run it using the same command rails script/server it says that

vverma@l-vverma:~/railsExp/tickets$ rails script/server 
      create  
File exists - script/server

I tried deleting the script/server file but i still couldn't run the localhost:3000 in the browser

Tried rails s as well, it gave the following output:- http://paste.ubuntu.com/1317610/

But still i was unable to run the app on 'localhost:3000'

What is the solution to this

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about ruby