Skip to content

Commit b9798e4

Browse files
committed
Update Gemfile in buildpack author guide
- Ruby 3+ no longer includes webrick so it has to be explicitly required in the Gemfile for the app to start - See: https://bugs.ruby-lang.org/issues/17303 Signed-off-by: Tim Downey <[email protected]>
1 parent d5c2de2 commit b9798e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/docs/buildpack-author-guide/create-buildpack/setup-local-environment.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ Then, create a file called `ruby-sample-app/Gemfile`<!--+"{{open}}"+--> with the
4646

4747
<!-- test:file=ruby-sample-app/Gemfile -->
4848
```ruby
49-
source "https://rubygems.org"
49+
source 'https://rubygems.org'
5050

5151
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
5252

53-
gem "sinatra"
53+
gem 'sinatra'
54+
gem 'webrick'
5455
```
5556

5657
Finally, make sure your local Docker daemon is running by executing:

0 commit comments

Comments
 (0)