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
Explain me the log that has to be seen to report errors in ruby rails?
Explain about Dig, Float and Max?
write a program to show the usage of sql in the database file?
Are there any disadvantages of ruby on rails? If yes, mention them.
Explain Get and post method?
Explain me what is the purpose of rjs in rails?
What is the difference between delete and destroy ?
Explain me what is the difference between concern and application_controller.rb in ruby on rails?
what is the difference between the Observers and Callbacks in Ruby on Rails?
what is Rails Migration?
How does router work in rails?
How are observers and callbacks different from each other?
what are the differences between rails 2.x and rails 3?
Do you know what is cross-site request forgery (csrf) and how rails is protected against it?
Choosing between belongs_to and has_one?