From 796c5fdaad2a9620a57818f1c0a14fbe66bbb6e2 Mon Sep 17 00:00:00 2001 From: mbianco-stripe <45374579+mbianco-stripe@users.noreply.github.com> Date: Mon, 22 Aug 2022 17:10:09 -0700 Subject: [PATCH] Adding envrc example (#702) --- .envrc-example | 4 +++- .gitignore | 2 +- Gemfile | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.envrc-example b/.envrc-example index bb626254f2..140e3b6fda 100644 --- a/.envrc-example +++ b/.envrc-example @@ -1 +1,3 @@ -export NO_SORBET_RUNTIME=true \ No newline at end of file +# use `direnv` to automatically load this (and any other!) vars into your shell automatically + +export NO_SORBET_RUNTIME=true diff --git a/.gitignore b/.gitignore index 02aefad8e0..311af9106f 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,4 @@ irb.log test/reports/ .DS_Store /vendor/bundle -node_modules +node_modules \ No newline at end of file diff --git a/Gemfile b/Gemfile index 926715a0da..1a19f1dee5 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,8 @@ ruby '2.7.6' gem 'sorbet', '~> 0.5.10346', group: :development if ENV.fetch('NO_SORBET_RUNTIME', 'false') != 'true' gem 'sorbet-runtime', '~> 0.5.10354', require: true +else + puts "Skipping sorbet-runtime" end gem 'sorbet-rails', '~> 0.7.34'