am new to ruby. tell me one thing.
i can view my project on browser when i write "ruby
script/server". otherwise i cant view my project on localhost.

what i have to do to view my project always on browser?
pls help

Answer Posted / bidesh mondal

if u run the server (ruby script/server -d) then the command
line will close ,but server is running.The server will run
until the machine is restart. you can start different port
using ruby script/server -p 3001 -d

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are gemsets in rails?

458


how does ruby on rails use the model view controller (mvc) framework?

437


How is visibility of methods changed in ruby (encapsulation) ?

464


How is direct different from render?

489


What can Rails Migration do?

478






What is a webrick web server?

485


How are string and symbol different?

475


What are the functions performed by rails migration?

458


Mention the differences between the observers and callbacks in ruby on rails.

462


What role do sub-directory app/helpers and app/controllers play?

460


How is dynamic scaffolding different from static scaffolding?

445


what is testing in rails?

534


What is the purpose of auto_load in ruby?

486


Explain about Dig, Float and Max?

512


what are the differences between rails 2.x and rails 3?

483