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
What are gemsets in rails?
What is the purpose of auto_load in ruby?
what is different between activerecord::relation's count, length and size methods?
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?
What is rails script? Name some of them?
what is the function of garbage collection in Ruby on Rails?
Tell me what is the function of garbage collection in ruby on rails?
what are rails filters?
What does session and cookies represent in ruby on rails?
explain request/response cycle?
Explain bundler in rails.
How many types of relationships does a model has?
How many types of associations relationships does a model have?
How is visibility of methods changed in ruby (encapsulation) ?
What is the purpose of require_relative in ruby?