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

Are there any disadvantages of ruby on rails? If yes, mention them.

623


How do rails implement ajax?

675


what is the difference in scope for these two variables: @@name and @name?

615


What are the steps involved in writing and setting up an application in ruby on rails?

603


What is the difference between save and save?

725


Which command is used to create a migration?

671


What is active record in rails?

699


Explain coc in rails?

721


How is calling super() different from the super call?

670


how can we define Ruby regular expressions?

635


How will be the future for ruby on rails?

645


Explain valid and invalid in rails?

630


How many types of associations relationships does a model have?

597


explain request/response cycle?

690


Explain the advantages of ruby on rails?

644