From 5251fdff8be65a5a42dfef1c675ed7fca9059a7a Mon Sep 17 00:00:00 2001 From: RyuNen344 Date: Tue, 22 Aug 2023 01:04:19 +0900 Subject: [PATCH] chore: update script that can bundle install anywhere --- Gemfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f9c3b0af7..378e9fc3f 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,10 @@ source "https://rubygems.org" -ruby file: ".ruby-version" +repo_root = `git rev-parse --show-toplevel`.chop +File.open("#{repo_root}/.ruby-version", "r") do |f| + ruby file: f +end gem 'fastlane', '2.214.0' gem 'danger', '9.3.0'