require 'action_view/railtie' for pro compatibility

MSP-10848

Other railties, like jquery-rails, need 'action_view/railtie', but don't
require it themselves, so require it explictly in
`config/application.rb` to prevent msfconsole boot errors.
bug/bundler_fix
Luke Imhoff 2014-08-04 20:12:28 -05:00
parent 9c29b78b9a
commit d56dd318b9
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
3 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,7 @@ PATH
remote: .
specs:
metasploit-framework (4.10.0.pre.dev)
actionpack (< 4.0.0)
activesupport (>= 3.0.0, < 4.0.0)
bcrypt
json

View File

@ -14,6 +14,13 @@ Bundler.require(
)
)
#
# Railties
#
# For compatibility with jquery-rails (and other engines that need action_view) in pro
require 'action_view/railtie'
#
# Project
#

View File

@ -51,6 +51,8 @@ Gem::Specification.new do |spec|
# Need 3+ for ActiveSupport::Concern
spec.add_runtime_dependency 'activesupport', '>= 3.0.0', rails_version_constraint
# Needed for config.action_view for view plugin compatibility for Pro
spec.add_runtime_dependency 'actionpack', rails_version_constraint
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
spec.add_runtime_dependency 'bcrypt'
# Needed for some admin modules (scrutinizer_add_user.rb)