English 中文(简体)
纸面字差
原标题:paperclip error
最佳回答
问题回答

in the source of paperclip.rb , if you change the line option.split(" ").map{|m| " #{m} " }.join(" ") to the following: option.split(" ").map{|m| ""#{m}"" }.join(" ")

it works Here is the complete changed method:

def quote_command_options(*options)
  options.map do |option|
    option.split(" ").map{|m| ""#{m}"" }.join("\ ")
  end
end

这意味着“身份证明”没有说明你上载的哪类档案,这可能是由坏档案上载,但也是由失踪的图像Magick造成的。 我知道如何通常在窗户上处理。

您需要安装图像Magick

乌班图:

sudo apt-get install imagemagick

如果你刚刚安装成像仪,而且你在窗户上重新安装,就可以帮助做一个“完全的 re子”。 我假设的是,一些事情没有被适当阻止,而没有走上新的道路。

(或许只是结束所有工作都会奏效,但我刚刚开了一个全方位的调子才能确定)





相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签