update Gemfile.local example, use Gemfile.local if it exists when bundling
parent
2ab7a42d8b
commit
be608edd76
|
@ -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,9 +194,13 @@ class Msfupdate
|
|||
require 'bundler'
|
||||
end
|
||||
Bundler.with_clean_env do
|
||||
if File::exist? "Gemfile.local"
|
||||
system("bundle", "install", "--gemfile", "Gemfile.local")
|
||||
else
|
||||
system("bundle", "install")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def update_binary_install!
|
||||
update_script = File.expand_path(File.join(@msfbase_dir, "..", "engine", "update.rb"))
|
||||
|
|
Loading…
Reference in New Issue