From b9798e49e2ad1b5987a7ef5e5f436fa6856a1358 Mon Sep 17 00:00:00 2001 From: Tim Downey Date: Fri, 24 Feb 2023 14:50:27 -0700 Subject: [PATCH] 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 --- .../create-buildpack/setup-local-environment.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/docs/buildpack-author-guide/create-buildpack/setup-local-environment.md b/content/docs/buildpack-author-guide/create-buildpack/setup-local-environment.md index f0154253..27250f7d 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/setup-local-environment.md +++ b/content/docs/buildpack-author-guide/create-buildpack/setup-local-environment.md @@ -46,11 +46,12 @@ Then, create a file called `ruby-sample-app/Gemfile` with the ```ruby -source "https://rubygems.org" +source 'https://rubygems.org' git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } -gem "sinatra" +gem 'sinatra' +gem 'webrick' ``` Finally, make sure your local Docker daemon is running by executing: