Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

what is the difference between the Observers and Callbacks in Ruby on Rails?

934


What are the servers supported by ruby on rails?

823


What are the different types of association relationships that exist?

868


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

837


Name some rails ide or editor.

799


what is the command to create a migration?

939


Explain me what is the purpose of rjs in rails?

820


What is a webrick web server?

857


who developed rails?

851


What is the difference between save and save?

964


what is the difference between redirect and render in Ruby on Rails?

902


Tell me what is rails active record in ruby on rails?

759


How does router work in rails?

852


what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?

875


explain request/response cycle?

861