Skip to content

Commit 51298ac

Browse files
committed
Land rapid7#8090, support rails usage of spec files list
2 parents fe4f20c + b55ee87 commit 51298ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metasploit-framework.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# During build, the Gemfile is temporarily moved and
44
# we must manually define the project root
5-
if ENV['MSF_ROOT']
5+
if ENV['MSF_ROOT'] || ENV['RAILS_ENV']
66
lib = File.realpath(File.expand_path('lib', ENV['MSF_ROOT']))
77
files = `git ls-files`.split($/).reject { |file|
88
file =~ /^documentation|^data\/gui|^external/

0 commit comments

Comments
 (0)