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 / chandan kumar jha

Configure nginx server for running rails application.It is not required to run ruby script/server only need passenger gem.After restarting system not need to start rails server application automatically started.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between render and redirect?

497


What is action cable?

515


who developed rails?

536


what are helpers and how to use helpers in ror?

528


Explain coc in rails?

561






Name some rails ide or editor.

485


What are the hashes?

483


What are the various components of rail?

563


How many types of relationships does a model has?

477


what is the difference between new, save and create?

522


Which command is used to create a migration?

505


How many types of associations relationships does a model have?

447


How are observers and callbacks different from each other?

424


What does session and cookies represent in ruby on rails?

423


what is ORM (Object-Relationship-Model) in Rails?

547