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 / bidesh mondal

if u run the server (ruby script/server -d) then the command
line will close ,but server is running.The server will run
until the machine is restart. you can start different port
using ruby script/server -p 3001 -d

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some features of nested scaffolding.

673


How you run your Rails Application without creating database ?

657


when self.up and self.down method is used?

676


what are the positive aspects of Rails?

628


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

695


How to use two databases into a single application?

691


how you can create a controller for subject?

689


How will be the future for ruby on rails?

651


What is the current version of ruby on rails?

658


what is the difference between destroy and delete?

671


Mention all the naming conventions in ruby on rails.

635


What is a ruby singleton method ?

655


Do you know what is rake in rails?

634


What are class libraries?

663


What is the difference between concern and application_controller.rb in ruby on rails?

628