Skip to content
Permalink
Browse files

update Gemfile.local example, use Gemfile.local if it exists when bun…

…dling
  • Loading branch information...
busterb committed Apr 30, 2017
1 parent 2ab7a42 commit be608edd762853684a8205f790d69e52f5a7d826
Showing with 5 additions and 3 deletions.
  1. +0 −2 Gemfile.local.example
  2. +5 −1 msfupdate
@@ -27,8 +27,6 @@ end

# Create a custom group
group :local do
# Use pry-debugger to step through code during development
gem 'pry-debugger', '~> 0.2'
# Add the lab gem so that the 'lab' plugin will work again
gem 'lab', '~> 0.2.7'
end
@@ -194,7 +194,11 @@ class Msfupdate
require 'bundler'
end
Bundler.with_clean_env do
system("bundle", "install")
if File::exist? "Gemfile.local"
system("bundle", "install", "--gemfile", "Gemfile.local")
else
system("bundle", "install")
end
end
end

0 comments on commit be608ed

Please sign in to comment.
You can’t perform that action at this time.