Skip to content

Commit 9a0e2e6

Browse files
committed
Land rapid7#8324, Update Gemfile.local example, use Gemfile.local if it exists
2 parents 467f1ce + be608ed commit 9a0e2e6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Gemfile.local.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ end
2727

2828
# Create a custom group
2929
group :local do
30-
# Use pry-debugger to step through code during development
31-
gem 'pry-debugger', '~> 0.2'
3230
# Add the lab gem so that the 'lab' plugin will work again
3331
gem 'lab', '~> 0.2.7'
3432
end

msfupdate

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,11 @@ class Msfupdate
229229
require 'bundler'
230230
end
231231
Bundler.with_clean_env do
232-
system("bundle", "install")
232+
if File::exist? "Gemfile.local"
233+
system("bundle", "install", "--gemfile", "Gemfile.local")
234+
else
235+
system("bundle", "install")
236+
end
233237
end
234238
end
235239

0 commit comments

Comments
 (0)