Skip to content

Commit

Permalink
Adding envrc example (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbianco-stripe authored Aug 23, 2022
1 parent a15c7f2 commit 796c5fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .envrc-example
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export NO_SORBET_RUNTIME=true
# use `direnv` to automatically load this (and any other!) vars into your shell automatically

export NO_SORBET_RUNTIME=true
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ irb.log
test/reports/
.DS_Store
/vendor/bundle
node_modules
node_modules
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 796c5fd

Please sign in to comment.