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 / rohit kumar shaw

For any Scripting languages like PHP, Ruby etc need a server
(It may be virtual server i.e. localhost) to run their code.

When you run this code in command line ruby script/server it
means you already started your apache server to run the code
and hence you can see your output in browser. If you close
your command line window, it means apache server is stop
working now and then you can't be able to see your output
anymore.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rails scaffolding?

994


Explain valid and invalid in rails?

835


Explain what is the role of the subdirectories app/controllers and app/helpers in rails?

923


what is rake in Rails?

884


how does ruby on rails use the model view controller (mvc) framework?

827


Am Fresher ..,i dont know seven controller methods.am searching in google .but am not getting .help me

2250


What is the purpose of load, auto_load, and require_relative in ruby ?

801


Tell me what is rails migration?

825


What is Dynamic finders ?

919


explain request/response cycle?

910


how you can run Rails application without creating databases?

890


Explain how Rails implements Ajax?

819


Explain model in rails?

858


what are some advantages of using ruby on rails?

892


What is agile development? What are the strengths?

870