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
What are gemsets in rails?
how does ruby on rails use the model view controller (mvc) framework?
How is visibility of methods changed in ruby (encapsulation) ?
How is direct different from render?
What can Rails Migration do?
What is a webrick web server?
How are string and symbol different?
What are the functions performed by rails migration?
Mention the differences between the observers and callbacks in ruby on rails.
What role do sub-directory app/helpers and app/controllers play?
How is dynamic scaffolding different from static scaffolding?
what is testing in rails?
What is the purpose of auto_load in ruby?
Explain about Dig, Float and Max?
what are the differences between rails 2.x and rails 3?