Skip to content

Commit be608ed

Browse files
committed
update Gemfile.local example, use Gemfile.local if it exists when bundling
1 parent 2ab7a42 commit be608ed

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
@@ -194,7 +194,11 @@ class Msfupdate
194194
require 'bundler'
195195
end
196196
Bundler.with_clean_env do
197-
system("bundle", "install")
197+
if File::exist? "Gemfile.local"
198+
system("bundle", "install", "--gemfile", "Gemfile.local")
199+
else
200+
system("bundle", "install")
201+
end
198202
end
199203
end
200204

0 commit comments

Comments
 (0)