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 naming convention for variables?

509


what is the log that has to seen to check for an error in ruby rails?

476


how many types of callbacks available in ror?

594


what is the difference between calling super() and super call?

506


How you run your rails application without creating databases?

456






how you define Instance Variable, Global Variable and Class Variable in Ruby?

494


What is the directory structure of rails?

490


hi am b,tech 2011 passedout now am learnig ROR technology may i knw what is the feature of this one and what is the salary ranges to this i heard there is a less salaries to this technology give me valuable suggestions

1899


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

509


What are the functions performed by rails migration?

476


What is the process for creating a controller for the subject? What is its role?

450


What is rails migration? What can it do?

450


Explain some features of nested scaffolding.

494


What is rails router?

517


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

496