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
How are string and symbol different?
What are models in rails?
Explain me what is the purpose of rjs in rails?
Explain the role of sub directory app/controllers and app/helpers.
Explain how does rails implement ajax?
what is Mixin in Rails?
What is the difference between delete and destroy ?
What does session and cookies represent in ruby on rails?
Difference between gem and plugin?
Explain dry in rails?
Explain the advantages of ruby on rails?
How many filters are there in rails.
Do you know what is cross-site request forgery (csrf) and how rails is protected against it?
how many types of callbacks available in ror?
What is the importance of rjs?