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 / chandanjha1989

Configure nginx server it keep your application always running no need to start rails server every time.Your application automatically restarted after your system restart.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain request/response cycle?

513


Explain the importance of yield statement in rails.

477


what is the command to create a migration?

514


what is Rails Active Record in Ruby on Rails?

528


What is the role of mvc architecture in ruby on rails?

459






What does ruby name refer to?

514


What are the types of caching used in rails, what are they?

433


what is the difference between redirect and render in Ruby on Rails?

533


What is the process for creating a controller for the subject? What is its role?

437


What is ORM in Rails?

493


What does session and cookies represent in ruby on rails?

411


what is Cross-Site Request Forgery (CSRF) and how Rails is protected against it?

483


Tell me what is orm (object-relationship-model) in rails?

422


Tell me what is the function of garbage collection in ruby on rails?

469


What is the architecture of Model views and controllers

2187