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 / chandanjha1989

Configure nginx server it keep your application always running no need to start rails server every time.Your application automatically restarted after your system restart.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by render and redirect_to?

636


Explain me what are the limits of ruby on rails?

604


explain request/response cycle?

679


How are observers and callbacks different from each other?

570


how you can run Rails application without creating databases?

621


Do you know what is cross-site request forgery (csrf) and how rails is protected against it?

609


How can you protect filter methods in rails?

660


Difference between gem and plugin?

692


Explain the importance of yield statement in rails.

644


How many types of relationships does a model has?

621


Who designed active record in rails?

628


write a program to show the usage of sql in the database file?

642


what are benefits of using active record as opposed to raw sql queries?

644


What is bundler?

663


Explain about Dig, Float and Max?

668