From 772a41ebe1e8b7afa36dc0314b10cf6537bf6ac6 Mon Sep 17 00:00:00 2001 From: Alexander Mankuta Date: Mon, 15 Jan 2024 15:07:28 +0200 Subject: [PATCH] Make it easier to develop agains different versions of other gems --- .gitignore | 1 + Gemfile | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index c5df388ed..d4241479c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ pkg .rvmrc .bundle Gemfile.lock +Gemfile.local drop_to_console.rb /.idea /doc diff --git a/Gemfile b/Gemfile index 7f4f5e950..92355d567 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,8 @@ source 'https://rubygems.org' gemspec + +# Evaluate Gemfile.local if it exists +if File.exist?("#{__FILE__}.local") + instance_eval(File.read("#{__FILE__}.local"), "#{__FILE__}.local") +end