gpt4 book ai didi

ruby-on-rails - 运行服务器时的 RMagick 警告

转载 作者:行者123 更新时间:2023-12-03 09:41:13 24 4
gpt4 key购买 nike

我正在使用 gem 1.3.7、rails 2.3.5 和 ruby​​ 1.8.7 (2008-08-11 patchlevel 72)。在启动服务器时,我收到以下警告。

Loading development environment (Rails 2.3.5)
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:44: warning: already initialized constant PercentGeometry
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:45: warning: already initialized constant AspectGeometry
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:46: warning: already initialized constant LessGeometry
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:47: warning: already initialized constant GreaterGeometry
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:48: warning: already initialized constant AreaGeometry
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:49: warning: already initialized constant MinimumGeometry
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:52: warning: already initialized constant FLAGS
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:58: warning: already initialized constant RFLAGS
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:92: warning: already initialized constant W
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:93: warning: already initialized constant H
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:94: warning: already initialized constant X
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:95: warning: already initialized constant Y
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:96: warning: already initialized constant RE
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:151: warning: already initialized constant ALIGN_TYPE_NAMES
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:156: warning: already initialized constant ANCHOR_TYPE_NAMES
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:162: warning: already initialized constant DECORATION_TYPE_NAMES
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:169: warning: already initialized constant FONT_WEIGHT_NAMES
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:180: warning: already initialized constant GRAVITY_NAMES
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:187: warning: already initialized constant PAINT_METHOD_NAMES
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:199: warning: already initialized constant STRETCH_TYPE_NAMES
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:205: warning: already initialized constant STYLE_TYPE_NAMES
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:673: warning: already initialized constant Model_Version
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:674: warning: already initialized constant Destination
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:675: warning: already initialized constant File_Format
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:676: warning: already initialized constant File_Format_Version
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:677: warning: already initialized constant Service_Identifier
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:678: warning: already initialized constant Envelope_Number
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:679: warning: already initialized constant Product_ID
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:680: warning: already initialized constant Envelope_Priority
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:681: warning: already initialized constant Date_Sent
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:682: warning: already initialized constant Time_Sent
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:683: warning: already initialized constant Coded_Character_Set
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:684: warning: already initialized constant UNO
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:685: warning: already initialized constant Unique_Name_of_Object
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:686: warning: already initialized constant ARM_Identifier
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:687: warning: already initialized constant ARM_Version
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:691: warning: already initialized constant Record_Version
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:692: warning: already initialized constant Object_Type_Reference
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:693: warning: already initialized constant Object_Name
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:694: warning: already initialized constant Title
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:695: warning: already initialized constant Edit_Status
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:696: warning: already initialized constant Editorial_Update
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:697: warning: already initialized constant Urgency
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:698: warning: already initialized constant Subject_Reference
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:699: warning: already initialized constant Category
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:700: warning: already initialized constant Supplemental_Category
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:701: warning: already initialized constant Fixture_Identifier
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:702: warning: already initialized constant Keywords
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:703: warning: already initialized constant Content_Location_Code
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:704: warning: already initialized constant Content_Location_Name
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:705: warning: already initialized constant Release_Date
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:706: warning: already initialized constant Release_Time
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:707: warning: already initialized constant Expiration_Date
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:708: warning: already initialized constant Expiration_Time
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:709: warning: already initialized constant Special_Instructions
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:710: warning: already initialized constant Action_Advised
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:711: warning: already initialized constant Reference_Service
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:712: warning: already initialized constant Reference_Date
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:713: warning: already initialized constant Reference_Number
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:714: warning: already initialized constant Date_Created
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:715: warning: already initialized constant Time_Created
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:716: warning: already initialized constant Digital_Creation_Date
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:717: warning: already initialized constant Digital_Creation_Time
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:718: warning: already initialized constant Originating_Program
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:719: warning: already initialized constant Program_Version
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:720: warning: already initialized constant Object_Cycle
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:721: warning: already initialized constant By_Line
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:722: warning: already initialized constant Author
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:723: warning: already initialized constant By_Line_Title
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:724: warning: already initialized constant Author_Position
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:725: warning: already initialized constant City
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:726: warning: already initialized constant Sub_Location
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:727: warning: already initialized constant Province
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:728: warning: already initialized constant State
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:729: warning: already initialized constant Country_Primary_Location_Code
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:730: warning: already initialized constant Country_Primary_Location_Name
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:731: warning: already initialized constant Original_Transmission_Reference
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:732: warning: already initialized constant Headline
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:733: warning: already initialized constant Credit
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:734: warning: already initialized constant Source
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:735: warning: already initialized constant Copyright_Notice
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:736: warning: already initialized constant Contact
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:737: warning: already initialized constant Abstract
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:738: warning: already initialized constant Caption
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:739: warning: already initialized constant Editor
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:740: warning: already initialized constant Caption_Writer
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:741: warning: already initialized constant Rasterized_Caption
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:742: warning: already initialized constant Image_Type
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:743: warning: already initialized constant Image_Orientation
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:744: warning: already initialized constant Language_Identifier
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:745: warning: already initialized constant Audio_Type
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:746: warning: already initialized constant Audio_Sampling_Rate
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:747: warning: already initialized constant Audio_Sampling_Resolution
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:748: warning: already initialized constant Audio_Duration
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:749: warning: already initialized constant Audio_Outcue
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:750: warning: already initialized constant ObjectData_Preview_File_Format
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:751: warning: already initialized constant ObjectData_Preview_File_Format_Version
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:752: warning: already initialized constant ObjectData_Preview_Data
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:756: warning: already initialized constant Size_Mode
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:757: warning: already initialized constant Max_Subfile_Size
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:758: warning: already initialized constant ObjectData_Size_Announced
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:759: warning: already initialized constant Maximum_ObjectData_Size
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:763: warning: already initialized constant Subfile
/Users/me/.rvm/gems/ruby-1.8.7-p72@mbm/gems/rmagick-2.13.1/lib/RMagick.rb:767: warning: already initialized constant Confirmed_ObjectData_Size

最佳答案

gem 'rmagick', :require => false

关于ruby-on-rails - 运行服务器时的 RMagick 警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3606190/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com