をcreate_border_shorthand。私はこのbug closed report on github見つけたが、私はそれはのルートだかはわからないpremailer - 未定義のメソッドは、私がpremailer宝石がpremailerを実行するために、私のフォルダにgemfileとすくいファイルを追加することによって、私は私のプロジェクトの設定をしました<a href="https://github.com/alexdunae/premailer" rel="nofollow">these instructions</a></p> <p>に従うことによって、作業を取得しようとしている
undefined method `create_border_shorthand!' for #<CssParser::RuleSet:0x00000101533278>
- 私は次のエラーを取得しています
task :default do
require 'premailer'
premailer = Premailer.new('email_source.html', :warn_level => Premailer::Warnings::SAFE)
# Write the HTML output
fout = File.open("output.html", "w")
fout.puts premailer.to_inline_css
fout.close
# Write the plain-text output
fout = File.open("ouput.txt", "w")
fout.puts premailer.to_plain_text
fout.close
# Output any CSS warnings
premailer.warnings.each do |w|
puts "#{w[:message]} (#{w[:level]}) may not render properly in #{w[:clients]}"
end
end
を -
マイすくいファイルは次のようになります私の問題。
何が問題なのでしょうか?
私は以下の問題がありました - バンドルは現在1.1.9でロックされたcss_parserを持っています。 'bundle update css_parser'を実行してみてください。私はそれを修正した。ありがとうv much – Finnnn
ブリリアント。助けてうれしい! – iHiD