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

Explain me the log that has to be seen to report errors in ruby rails?

697


Explain about Dig, Float and Max?

839


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

801


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

817


Explain Get and post method?

869


Explain me what is the purpose of rjs in rails?

814


What is the difference between delete and destroy ?

780


Explain me what is the difference between concern and application_controller.rb in ruby on rails?

755


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

919


what is Rails Migration?

911


How does router work in rails?

836


How are observers and callbacks different from each other?

724


what are the differences between rails 2.x and rails 3?

843


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

804


Choosing between belongs_to and has_one?

821