我在谷歌云上部署应用程序时遇到问题我收到此错误
包含与报告不符的内容
在本地它工作正常!我已经尝试过使用 command_path。所以我真的不知道我接下来要做什么......
这是我的模型
has_mongoid_attached_file :image,
:styles => { :large => "380x380!" , :medium => "240x240", :small => "120x120!" },
:storage => :fog,
:fog_public => true,
:fog_directory => 'XXXX',
:path => "images/:id/:style/:basename.:extension",
:fog_credentials => { :provider => 'Google',
:google_storage_access_key_id => 'XXXXX',
:google_storage_secret_access_key => 'XXXXX'}
validates_attachment_content_type :image, :content_type => ["image/jpg", "image/jpeg", "image/png", "image/gif"]
感谢你付出的努力。我希望你们能帮助我