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.