Hi there,
I’m learning Ruby on Rails and I have problems re-starting the WEBrick
server. It seems like I started the server for one Rails application
but now I can’t use it for another application. I can’t seem to stop
it. If I’m not mistaken I need to re-start the server every time I
create a new rails app…I just can’t seem to be able to stop it and
re-start it. Any help will be highly appreciated!!!
Thank you
Hi Ricardo,
Ricardo ricardito wrote:
If I’m not mistaken I need to re-start the
server every time I create a new rails app
That is correct in development mode.
.I just can’t seem to be able to stop it and
re-start it.
Not sure what you mean here. Could you say more about what you’ve tried
and
what the results were?
Best regards,
Bill
I think what you’re looking for is CTRL-C Just go to the command window
that webrick is running in and hold the control key and press c then
just run the original command you used to start it.