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 Cross-Site Request Forgery (CSRF) and how Rails is protected against it?

906


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

845


How do rails implement ajax?

840


If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?

783


what is “Yield” in Ruby on Rails?

835


what are the positive aspects of Rails?

761


Please explain what are the positive aspects of rails?

786


What do you mean by render and redirect_to?

826


What are the types of caching used in rails, what are they?

866


Where does the start_tabnav gets informations for tabs rendering in ruby rail?

802


what is testing in rails?

940


How will be the future for ruby on rails?

796


What is difference between form_for and form_tag?

816


What is rails script? Name some of them?

821


What do you understand by rails migration and what it can do?

774