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
|
# Create a custom group
|
||||||
group :local do
|
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
|
# Add the lab gem so that the 'lab' plugin will work again
|
||||||
gem 'lab', '~> 0.2.7'
|
gem 'lab', '~> 0.2.7'
|
||||||
end
|
end
|
||||||
|
|
|
@ -194,7 +194,11 @@ class Msfupdate
|
||||||
require 'bundler'
|
require 'bundler'
|
||||||
end
|
end
|
||||||
Bundler.with_clean_env do
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue