Ruby on Rails 3 - Server - Start the (native) Webrick server

To start the native server of Ruby on Rails, WEBrick, you have to open a shell and go until the path of your website and write "rails server" to start it. Example on Windows:

$ C:/rubyOnRails/site1> rails server

Same for GNU/Linux:

$ home/name/rubyOnRails/site1> rails server

You will see the server start and show all what is happening when there is activity on your website. To display something on your server, just go on http://localhost/3000/ and some information will be displayed.

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Refresh Type the characters you see in this picture. Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.