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 are gemsets in rails?

463


What is the purpose of auto_load in ruby?

496


what is different between activerecord::relation's count, length and size methods?

507


what is a rails migration? Write up a short example of a simple rails migration with a table called customers, a string column called name, and a text column called description?

481


What is rails script? Name some of them?

488






what is the function of garbage collection in Ruby on Rails?

467


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

483


what are rails filters?

538


What does session and cookies represent in ruby on rails?

419


explain request/response cycle?

525


Explain bundler in rails.

490


How many types of relationships does a model has?

473


How many types of associations relationships does a model have?

445


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

476


What is the purpose of require_relative in ruby?

502