Skip to content

Commit 2818b4e

Browse files
committed
Merge remote-tracking branch 'upstream/staging/electro-release' into staging/electro-release
2 parents 6bc7643 + b769b41 commit 2818b4e

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ PATH
22
remote: .
33
specs:
44
metasploit-framework (4.10.0.pre.dev)
5+
actionpack (< 4.0.0)
56
activesupport (>= 3.0.0, < 4.0.0)
67
bcrypt
78
json

config/application.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
)
1515
)
1616

17+
#
18+
# Railties
19+
#
20+
21+
# For compatibility with jquery-rails (and other engines that need action_view) in pro
22+
require 'action_view/railtie'
23+
1724
#
1825
# Project
1926
#

lib/msf/base/config.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# Project
1111
#
1212

13+
require 'metasploit/framework/version'
1314
require 'rex/compat'
1415

1516
module Msf

metasploit-framework.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Gem::Specification.new do |spec|
5151

5252
# Need 3+ for ActiveSupport::Concern
5353
spec.add_runtime_dependency 'activesupport', '>= 3.0.0', rails_version_constraint
54+
# Needed for config.action_view for view plugin compatibility for Pro
55+
spec.add_runtime_dependency 'actionpack', rails_version_constraint
5456
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
5557
spec.add_runtime_dependency 'bcrypt'
5658
# Needed for some admin modules (scrutinizer_add_user.rb)

0 commit comments

Comments
 (0)