Skip to content

Commit

Permalink
sinatra-app-tutorial: Install webrick
Browse files Browse the repository at this point in the history
New versions of Sinatra require you to install a server.
webrick is a simple server with two main benefits when it comes to
conducting a Rails Girls workshop:

1) It runs in a single-threaded mode by default, unlike puma. This ensures
   the attendees won't ever run observe some weird side effects of request 2
   returning before request 1.
2) It doesn't need any native extensions which reduces build time and
   the chance of running into an errors during installation.
  • Loading branch information
ravicious committed Jun 18, 2023
1 parent a765b43 commit feda170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pages/sinatra-app-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Explain shortly what [Sinatra](https://sinatrarb.com) is.

Remember how we needed to install Ruby on Rails? Similarly we need to install Sinatra:

`gem install sinatra`
`gem install sinatra webrick`

### Create your first Sinatra app

Expand Down

0 comments on commit feda170

Please sign in to comment.