启动Rails服务器时将不再使用烟雾警告

问题描述 投票:5回答:1

我将Rails应用程序迁移到Rails 6.0.1,并且每次启动服务器时,都会收到这些Fog弃用警告。我该如何摆脱它们?有趣的是,我有这个应用程序的克隆版本,没有给出这些警告...

[fog][DEPRECATION] Unable to load Fog::Atmos::Storage
[fog][DEPRECATION] The format Fog::Storage::Atmos is deprecated
[fog][DEPRECATION] Unable to load Fog::Clodo::Compute
[fog][DEPRECATION] The format Fog::Compute::Clodo is deprecated
[fog][DEPRECATION] Unable to load Fog::DigitalOcean::Compute
[fog][DEPRECATION] The format Fog::Compute::DigitalOcean is deprecated
[fog][DEPRECATION] Unable to load Fog::Dnsimple::DNS
[fog][DEPRECATION] The format Fog::DNS::Dnsimple is deprecated
[fog][DEPRECATION] Unable to load Fog::DNSMadeEasy::DNS
[fog][DEPRECATION] The format Fog::DNS::DNSMadeEasy is deprecated
[fog][DEPRECATION] Unable to load Fog::Fogdocker::Compute
[fog][DEPRECATION] The format Fog::Compute::Fogdocker is deprecated
[fog][DEPRECATION] Unable to load Fog::Dreamhost::DNS
[fog][DEPRECATION] The format Fog::DNS::Dreamhost is deprecated
[fog][DEPRECATION] Unable to load Fog::Dynect::DNS
[fog][DEPRECATION] The format Fog::DNS::Dynect is deprecated
[fog][DEPRECATION] Unable to load Fog::Ecloud::Compute
[fog][DEPRECATION] The format Fog::Compute::Ecloud is deprecated
[fog][DEPRECATION] Unable to load Fog::Glesys::Compute
[fog][DEPRECATION] The format Fog::Compute::Glesys is deprecated
[fog][DEPRECATION] Unable to load Fog::GoGrid::Compute
[fog][DEPRECATION] The format Fog::Compute::GoGrid is deprecated
[fog][DEPRECATION] Unable to load Fog::Google::Compute
[fog][DEPRECATION] The format Fog::Compute::Google is deprecated
[fog][DEPRECATION] Unable to load Fog::Google::DNS
[fog][DEPRECATION] The format Fog::DNS::Google is deprecated
[fog][DEPRECATION] Unable to load Fog::Google::Storage
[fog][DEPRECATION] The format Fog::Storage::Google is deprecated
[fog][DEPRECATION] Unable to load Fog::IBM::Compute
[fog][DEPRECATION] The format Fog::Compute::IBM is deprecated
[fog][DEPRECATION] Unable to load Fog::IBM::Storage
[fog][DEPRECATION] The format Fog::Storage::IBM is deprecated
[fog][DEPRECATION] Unable to load Fog::InternetArchive::Storage
[fog][DEPRECATION] The format Fog::Storage::InternetArchive is deprecated
[fog][DEPRECATION] Unable to load Fog::Linode::Compute
[fog][DEPRECATION] The format Fog::Compute::Linode is deprecated
[fog][DEPRECATION] Unable to load Fog::Linode::DNS
[fog][DEPRECATION] The format Fog::DNS::Linode is deprecated
[fog][DEPRECATION] Unable to load Fog::BareMetalCloud::Compute
[fog][DEPRECATION] The format Fog::Compute::BareMetalCloud is deprecated
[fog][DEPRECATION] Unable to load Fog::Rackspace::CDN
[fog][DEPRECATION] The format Fog::CDN::Rackspace is deprecated
[fog][DEPRECATION] Unable to load Fog::Rackspace::CDN v2
[fog][DEPRECATION] The format Fog::CDN v2::Rackspace is deprecated
[fog][DEPRECATION] Unable to load Fog::Rackspace::Compute
[fog][DEPRECATION] The format Fog::Compute::Rackspace is deprecated
[fog][DEPRECATION] Unable to load Fog::Rackspace::Compute v2
[fog][DEPRECATION] The format Fog::Compute v2::Rackspace is deprecated
[fog][DEPRECATION] Unable to load Fog::Rackspace::DNS
[fog][DEPRECATION] The format Fog::DNS::Rackspace is deprecated
[fog][DEPRECATION] Unable to load Fog::Rackspace::Storage
[fog][DEPRECATION] The format Fog::Storage::Rackspace is deprecated
[fog][DEPRECATION] Unable to load Fog::Rackspace::Databases
[fog][DEPRECATION] The format Fog::Databases::Rackspace is deprecated
[fog][DEPRECATION] Unable to load Fog::Rage4::DNS
[fog][DEPRECATION] The format Fog::DNS::Rage4 is deprecated
[fog][DEPRECATION] Unable to load Fog::PowerDNS::DNS
[fog][DEPRECATION] The format Fog::DNS::PowerDNS is deprecated
[fog][DEPRECATION] Unable to load Fog::ProfitBricks::Compute
[fog][DEPRECATION] The format Fog::Compute::ProfitBricks is deprecated
[fog][DEPRECATION] Unable to load Fog::SakuraCloud::Compute
[fog][DEPRECATION] The format Fog::Compute::SakuraCloud is deprecated
[fog][DEPRECATION] Unable to load Fog::SakuraCloud::Volume
[fog][DEPRECATION] The format Fog::Volume::SakuraCloud is deprecated
[fog][DEPRECATION] Unable to load Fog::SakuraCloud::Network
[fog][DEPRECATION] The format Fog::Network::SakuraCloud is deprecated
[fog][DEPRECATION] Unable to load Fog::SakuraCloud::DNS
[fog][DEPRECATION] The format Fog::DNS::SakuraCloud is deprecated
[fog][DEPRECATION] Unable to load Fog::Serverlove::Compute
[fog][DEPRECATION] The format Fog::Compute::Serverlove is deprecated
[fog][DEPRECATION] Unable to load Fog::Softlayer::Account
[fog][DEPRECATION] The format Fog::Account::Softlayer is deprecated
[fog][DEPRECATION] Unable to load Fog::Softlayer::Compute
[fog][DEPRECATION] The format Fog::Compute::Softlayer is deprecated
[fog][DEPRECATION] Unable to load Fog::Softlayer::DNS
[fog][DEPRECATION] The format Fog::DNS::Softlayer is deprecated
[fog][DEPRECATION] Unable to load Fog::Softlayer::Network
[fog][DEPRECATION] The format Fog::Network::Softlayer is deprecated
[fog][DEPRECATION] Unable to load Fog::Softlayer::Storage
[fog][DEPRECATION] The format Fog::Storage::Softlayer is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::Compute
[fog][DEPRECATION] The format Fog::Compute::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::Network
[fog][DEPRECATION] The format Fog::Network::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::Storage
[fog][DEPRECATION] The format Fog::Storage::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::DNS
[fog][DEPRECATION] The format Fog::DNS::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::Billing
[fog][DEPRECATION] The format Fog::Billing::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::Monitoring
[fog][DEPRECATION] The format Fog::Monitoring::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::Support
[fog][DEPRECATION] The format Fog::Support::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::Account
[fog][DEPRECATION] The format Fog::Account::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::StormOnDemand::VPN
[fog][DEPRECATION] The format Fog::VPN::StormOnDemand is deprecated
[fog][DEPRECATION] Unable to load Fog::Vcloud::Compute
[fog][DEPRECATION] The format Fog::Compute::Vcloud is deprecated
[fog][DEPRECATION] Unable to load Fog::VcloudDirector::Compute
[fog][DEPRECATION] The format Fog::Compute::VcloudDirector is deprecated
[fog][DEPRECATION] Unable to load Fog::Vmfusion::Compute
[fog][DEPRECATION] The format Fog::Compute::Vmfusion is deprecated
[fog][DEPRECATION] Unable to load Fog::Voxel::Compute
[fog][DEPRECATION] The format Fog::Compute::Voxel is deprecated
[fog][DEPRECATION] Unable to load Fog::CloudSigma::Compute
[fog][DEPRECATION] The format Fog::Compute::CloudSigma is deprecated
[fog][DEPRECATION] Unable to load Fog::Openvz::Compute
[fog][DEPRECATION] The format Fog::Compute::Openvz is deprecated
[fog][DEPRECATION] Unable to load Fog::OpenNebula::Compute
[fog][DEPRECATION] The format Fog::Compute::OpenNebula is deprecated
[fog][DEPRECATION] Unable to load Fog::Aliyun::Compute
[fog][DEPRECATION] The format Fog::Compute::Aliyun is deprecated
[fog][DEPRECATION] Unable to load Fog::Aliyun::Storage
[fog][DEPRECATION] The format Fog::Storage::Aliyun is deprecated
ruby-on-rails fog
1个回答
0
投票

据我了解,您正在使用整个fog库。为何您拥有完整的库,例如fog-aws,是否有特定原因?除非使用某种与fog提供的所有提供程序进行交互的高级应用程序/库,否则IMO使用完整的fog库几乎没有什么好处。因此,我建议仅要求您需要的库,其余的留给其他人。这可能会消除弃用警告。

© www.soinside.com 2019 - 2024. All rights reserved.