2019-09-01から1ヶ月間の記事一覧
$ sudo apt install imagemagickImageMagickをaptでインストールした後にGemfileに下記を追記 gem 'rmagick'bundle install でエラー $ bundle install --path vendor/bundle ... Gem::Ext::BuildError: ERROR: Failed to build gem native extension. curre…
PDFをPNGにconvertしようとしてもできませんでした $ convert sample.pdf sample.png convert: not authorized `sample.pdf' @ error/constitute.c/ReadImage/412. convert: no images defined `sample.png' @ error/convert.c/ConvertImageCommand/3210. デ…
.gitignoreに記述し忘れてコミットしてしまった場合などファイルの場合 $ git rm [ファイル名]ディレクトリの場合 $ git rm -r [ディレクトリ名]ローカルにファイルを残す場合 $ git rm --cached [ファイル名]最後に削除したファイル名(ディレクトリ名)を.…