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
File exists - script/server
I tried deleting the script/server file but i still couldn’t run the
localhost:3000 in the browser
Your old one was rails 2.x I guess, but your new one is 3 or above. The
new
command for starting the server is ‘rails s’
Am 30.10.2012 11:24 schrieb “vipin v.” [email protected]:
you should’ve not deleted the script/server file. you’re using rails 2
so
the proper way to start
the server is ruby script/server not rails script/server. the shorcut
to
this is just script/server.