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 the differences between rails 2.x and rails 3?

643


What is the symbol garbage collector?

644


Explain how does rails implement ajax?

713


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?

629


what is the purpose of the resources method in the code snippet below?

650


In how many ways you can create rails layout http response.

586


At is cross-site request forgery (csrf)?

689


What are the functions performed by rails migration?

652


Explain me what is the role of rails controller?

636


What is the difference between save and save?

714


What is the naming convention for variables?

697


If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?

609


What is Rails?

655


what is the naming convention in Rails?

684


Explain me what is the naming convention in rails?

570