Closed shioimm closed 5 years ago
$ gem i rails -v 6.0.0.beta1
Fetching actionview-6.0.0.beta1.gem
Fetching activesupport-6.0.0.beta1.gem
Fetching actiontext-6.0.0.beta1.gem
Fetching railties-6.0.0.beta1.gem
Fetching activemodel-6.0.0.beta1.gem
Fetching activerecord-6.0.0.beta1.gem
Fetching activestorage-6.0.0.beta1.gem
Fetching actionpack-6.0.0.beta1.gem
Fetching rails-6.0.0.beta1.gem
Fetching activejob-6.0.0.beta1.gem
Fetching actionmailbox-6.0.0.beta1.gem
Fetching actioncable-6.0.0.beta1.gem
Fetching actionmailer-6.0.0.beta1.gem
Successfully installed activesupport-6.0.0.beta1
Successfully installed actionview-6.0.0.beta1
Successfully installed actionpack-6.0.0.beta1
Successfully installed railties-6.0.0.beta1
Successfully installed activemodel-6.0.0.beta1
Successfully installed activerecord-6.0.0.beta1
Successfully installed activestorage-6.0.0.beta1
Successfully installed actiontext-6.0.0.beta1
Successfully installed activejob-6.0.0.beta1
Cloning into '/Users/misakishioi/src/actionmailbox'...
remote: Enumerating objects: 77, done.
remote: Counting objects: 100% (77/77), done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 1923 (delta 22), reused 49 (delta 9), pack-reused 1846
Receiving objects: 100% (1923/1923), 327.45 KiB | 566.00 KiB/s, done.
Resolving deltas: 100% (840/840), done.
Successfully installed actionmailbox-6.0.0.beta1
Successfully installed actioncable-6.0.0.beta1
Successfully installed actionmailer-6.0.0.beta1
Successfully installed rails-6.0.0.beta1
Building YARD (yri) index for activesupport-6.0.0.beta1...
Building YARD (yri) index for actionview-6.0.0.beta1...
Building YARD (yri) index for actionpack-6.0.0.beta1...
Building YARD (yri) index for railties-6.0.0.beta1...
Building YARD (yri) index for activemodel-6.0.0.beta1...
Building YARD (yri) index for activerecord-6.0.0.beta1...
Building YARD (yri) index for activestorage-6.0.0.beta1...
Building YARD (yri) index for actiontext-6.0.0.beta1...
Building YARD (yri) index for activejob-6.0.0.beta1...
Building YARD (yri) index for actionmailbox-6.0.0.beta1...
Building YARD (yri) index for actioncable-6.0.0.beta1...
Building YARD (yri) index for actionmailer-6.0.0.beta1...
Building YARD (yri) index for rails-6.0.0.beta1...
Done installing documentation for activesupport, actionview, actionpack, railties, activemodel, activerecord, activestorage, actiontext, activejob, actionmailbox, actioncable, actionmailer, rails after 23 seconds
13 gems installed
$ rails _6.0.0.beta1_ new myapp
create
create README.md
create Rakefile
create .ruby-version
create config.ru
create .gitignore
create Gemfile
run git init from "."
Initialized empty Git repository in /Users/misakishioi/src/myapp/.git/
create package.json
create app
create app/assets/config/manifest.js
create app/assets/stylesheets/application.css
create app/channels/application_cable/channel.rb
create app/channels/application_cable/connection.rb
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/javascript/channels/consumer.js
create app/javascript/channels/index.js
create app/javascript/packs/application.js
create app/jobs/application_job.rb
create app/mailers/application_mailer.rb
create app/models/application_record.rb
create app/views/layouts/application.html.erb
create app/views/layouts/mailer.html.erb
create app/views/layouts/mailer.text.erb
create app/assets/images/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/rails
create bin/rake
create bin/setup
create bin/update
create bin/yarn
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/cable.yml
create config/puma.rb
create config/spring.rb
create config/storage.yml
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/application_controller_renderer.rb
create config/initializers/assets.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/content_security_policy.rb
create config/initializers/cookies_serializer.rb
create config/initializers/cors.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/new_framework_defaults_6_0.rb
create config/initializers/wrap_parameters.rb
create config/locales
create config/locales/en.yml
create config/master.key
append .gitignore
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create lib
create lib/tasks
create lib/tasks/.keep
create lib/assets
create lib/assets/.keep
create log
create log/.keep
create public
create public/404.html
create public/422.html
create public/500.html
create public/apple-touch-icon-precomposed.png
create public/apple-touch-icon.png
create public/favicon.ico
create public/robots.txt
create tmp
create tmp/.keep
create tmp/cache
create tmp/cache/assets
create vendor
create vendor/.keep
create test/fixtures
create test/fixtures/.keep
create test/fixtures/files
create test/fixtures/files/.keep
create test/controllers
create test/controllers/.keep
create test/mailers
create test/mailers/.keep
create test/models
create test/models/.keep
create test/helpers
create test/helpers/.keep
create test/integration
create test/integration/.keep
create test/channels/application_cable/connection_test.rb
create test/test_helper.rb
create test/system
create test/system/.keep
create test/application_system_test_case.rb
create storage
create storage/.keep
create tmp/storage
create tmp/storage/.keep
remove config/initializers/cors.rb
remove config/initializers/new_framework_defaults_6_0.rb
run bundle install
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/............
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies....
Using rake 12.3.2
Using concurrent-ruby 1.1.5
Using i18n 1.6.0
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Fetching zeitwerk 2.1.5
Installing zeitwerk 2.1.5
Fetching activesupport 6.0.0.rc1
Installing activesupport 6.0.0.rc1
Using builder 3.2.3
Using erubi 1.8.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.3
Using rails-dom-testing 2.0.3
Using crass 1.0.4
Using loofah 2.2.3
Using rails-html-sanitizer 1.0.4
Fetching actionview 6.0.0.rc1
Installing actionview 6.0.0.rc1
Using rack 2.0.7
Using rack-test 1.1.0
Fetching actionpack 6.0.0.rc1
Installing actionpack 6.0.0.rc1
Using nio4r 2.3.1
Using websocket-extensions 0.1.3
Using websocket-driver 0.7.0
Fetching actioncable 6.0.0.rc1
Installing actioncable 6.0.0.rc1
Using globalid 0.4.2
Fetching activejob 6.0.0.rc1
Installing activejob 6.0.0.rc1
Fetching activemodel 6.0.0.rc1
Installing activemodel 6.0.0.rc1
Fetching activerecord 6.0.0.rc1
Installing activerecord 6.0.0.rc1
Using mimemagic 0.3.3
Using marcel 0.3.3
Fetching activestorage 6.0.0.rc1
Installing activestorage 6.0.0.rc1
Using mini_mime 1.0.1
Using mail 2.7.1
Fetching actionmailbox 6.0.0.rc1
Installing actionmailbox 6.0.0.rc1
Fetching actionmailer 6.0.0.rc1
Installing actionmailer 6.0.0.rc1
Fetching actiontext 6.0.0.rc1
Installing actiontext 6.0.0.rc1
Using public_suffix 3.0.3
Using addressable 2.6.0
Using io-like 0.3.0
Using archive-zip 0.12.0
Using bindex 0.7.0
Using msgpack 1.2.10
Fetching bootsnap 1.4.4
Installing bootsnap 1.4.4 with native extensions
Using bundler 1.17.2
Using byebug 11.0.1
Using regexp_parser 1.4.0
Using xpath 3.2.0
Using capybara 3.18.0
Using childprocess 1.0.1
Using chromedriver-helper 2.1.1
Using ffi 1.10.0
Using multi_json 1.13.1
Using jbuilder 2.8.0
Using rb-fsevent 0.10.3
Using rb-inotify 0.10.0
Using ruby_dep 1.5.0
Using listen 3.1.5
Using method_source 0.9.2
Using puma 3.12.1
Using rack-proxy 0.6.5
Using thor 0.20.3
Fetching railties 6.0.0.rc1
Installing railties 6.0.0.rc1
Using sprockets 3.7.2
Using sprockets-rails 3.2.1
Fetching rails 6.0.0.rc1
Installing rails 6.0.0.rc1
Using rubyzip 1.2.2
Using sass-listen 4.0.0
Using sass 3.7.4
Using tilt 2.0.9
Using sass-rails 5.0.7
Fetching selenium-webdriver 3.142.0
Installing selenium-webdriver 3.142.0
Using spring 2.0.2
Using spring-watcher-listen 2.0.1
Using sqlite3 1.4.0
Using turbolinks-source 5.2.0
Using turbolinks 5.2.0
Using web-console 3.7.0
Using webpacker 4.0.2
Bundle complete! 17 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
run bundle binstubs bundler
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
run bundle exec spring binstub --all
* bin/rake: spring inserted
* bin/rails: spring inserted
rails webpacker:install
RAILS_ENV=development environment is not defined in config/webpacker.yml, falling back to production environment
create config/webpacker.yml
Copying webpack core config
create config/webpack
create config/webpack/development.js
create config/webpack/environment.js
create config/webpack/production.js
create config/webpack/test.js
Copying postcss.config.js to app root directory
create postcss.config.js
Copying babel.config.js to app root directory
create babel.config.js
Copying .browserslistrc to app root directory
create .browserslistrc
The JavaScript app source directory already exists
apply /Users/misakishioi/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/webpacker-4.0.2/lib/install/binstubs.rb
Copying binstubs
exist bin
create bin/webpack
create bin/webpack-dev-server
append .gitignore
Installing all JavaScript dependencies [4.0.2]
run yarn add @rails/webpacker from "."
yarn add v1.12.3
info No lockfile found.
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "@rails/webpacker > pnp-webpack-plugin > ts-pnp@1.1.2" has unmet peer dependency "typescript@*".
[4/4] 📃 Building fresh packages...
success Saved lockfile.
success Saved 596 new dependencies.
info Direct dependencies
├─ @rails/actioncable@6.0.0-alpha
├─ @rails/activestorage@6.0.0-alpha
├─ @rails/ujs@6.0.0-alpha
├─ @rails/webpacker@4.0.2
└─ turbolinks@5.2.0
info All dependencies
├─ @babel/core@7.4.4
├─ @babel/helper-builder-binary-assignment-operator-visitor@7.1.0
├─ @babel/helper-call-delegate@7.4.4
├─ @babel/helper-create-class-features-plugin@7.4.4
├─ @babel/helper-define-map@7.4.4
├─ @babel/helper-explode-assignable-expression@7.1.0
├─ @babel/helper-replace-supers@7.4.4
├─ @babel/helper-wrap-function@7.2.0
├─ @babel/helpers@7.4.4
├─ @babel/highlight@7.0.0
├─ @babel/plugin-proposal-async-generator-functions@7.2.0
├─ @babel/plugin-proposal-class-properties@7.4.4
├─ @babel/plugin-proposal-json-strings@7.2.0
├─ @babel/plugin-proposal-object-rest-spread@7.4.4
├─ @babel/plugin-proposal-optional-catch-binding@7.2.0
├─ @babel/plugin-proposal-unicode-property-regex@7.4.4
├─ @babel/plugin-syntax-dynamic-import@7.2.0
├─ @babel/plugin-transform-arrow-functions@7.2.0
├─ @babel/plugin-transform-async-to-generator@7.4.4
├─ @babel/plugin-transform-block-scoped-functions@7.2.0
├─ @babel/plugin-transform-block-scoping@7.4.4
├─ @babel/plugin-transform-classes@7.4.4
├─ @babel/plugin-transform-computed-properties@7.2.0
├─ @babel/plugin-transform-destructuring@7.4.4
├─ @babel/plugin-transform-dotall-regex@7.4.4
├─ @babel/plugin-transform-duplicate-keys@7.2.0
├─ @babel/plugin-transform-exponentiation-operator@7.2.0
├─ @babel/plugin-transform-for-of@7.4.4
├─ @babel/plugin-transform-function-name@7.4.4
├─ @babel/plugin-transform-literals@7.2.0
├─ @babel/plugin-transform-member-expression-literals@7.2.0
├─ @babel/plugin-transform-modules-amd@7.2.0
├─ @babel/plugin-transform-modules-commonjs@7.4.4
├─ @babel/plugin-transform-modules-systemjs@7.4.4
├─ @babel/plugin-transform-modules-umd@7.2.0
├─ @babel/plugin-transform-named-capturing-groups-regex@7.4.4
├─ @babel/plugin-transform-new-target@7.4.4
├─ @babel/plugin-transform-object-super@7.2.0
├─ @babel/plugin-transform-parameters@7.4.4
├─ @babel/plugin-transform-property-literals@7.2.0
├─ @babel/plugin-transform-regenerator@7.4.4
├─ @babel/plugin-transform-reserved-words@7.2.0
├─ @babel/plugin-transform-runtime@7.4.4
├─ @babel/plugin-transform-shorthand-properties@7.2.0
├─ @babel/plugin-transform-spread@7.2.2
├─ @babel/plugin-transform-sticky-regex@7.2.0
├─ @babel/plugin-transform-template-literals@7.4.4
├─ @babel/plugin-transform-typeof-symbol@7.2.0
├─ @babel/plugin-transform-unicode-regex@7.4.4
├─ @babel/polyfill@7.4.4
├─ @babel/preset-env@7.4.4
├─ @babel/runtime@7.4.4
├─ @rails/actioncable@6.0.0-alpha
├─ @rails/activestorage@6.0.0-alpha
├─ @rails/ujs@6.0.0-alpha
├─ @rails/webpacker@4.0.2
├─ @types/q@1.5.2
├─ @webassemblyjs/floating-point-hex-parser@1.8.5
├─ @webassemblyjs/helper-code-frame@1.8.5
├─ @webassemblyjs/helper-fsm@1.8.5
├─ @webassemblyjs/helper-wasm-section@1.8.5
├─ @webassemblyjs/wasm-edit@1.8.5
├─ @webassemblyjs/wasm-opt@1.8.5
├─ @xtuc/ieee754@1.2.0
├─ abbrev@1.1.1
├─ acorn-dynamic-import@4.0.0
├─ acorn@6.1.1
├─ ajv-errors@1.0.1
├─ ajv@6.10.0
├─ amdefine@1.0.1
├─ ansi-styles@3.2.1
├─ anymatch@2.0.0
├─ are-we-there-yet@1.1.5
├─ argparse@1.0.10
├─ arr-flatten@1.1.0
├─ array-find-index@1.0.2
├─ asn1.js@4.10.1
├─ asn1@0.2.4
├─ assert@1.4.1
├─ assign-symbols@1.0.0
├─ async-each@1.0.3
├─ async-foreach@0.1.3
├─ asynckit@0.4.0
├─ atob@2.1.2
├─ autoprefixer@9.5.1
├─ aws-sign2@0.7.0
├─ aws4@1.8.0
├─ babel-loader@8.0.5
├─ babel-plugin-dynamic-import-node@2.2.0
├─ babel-plugin-macros@2.5.1
├─ base@0.11.2
├─ base64-js@1.3.0
├─ bcrypt-pbkdf@1.0.2
├─ big.js@5.2.2
├─ binary-extensions@1.13.1
├─ block-stream@0.0.9
├─ bluebird@3.5.4
├─ boolbase@1.0.0
├─ brace-expansion@1.1.11
├─ braces@2.3.2
├─ browserify-aes@1.2.0
├─ browserify-cipher@1.0.1
├─ browserify-des@1.0.2
├─ browserify-sign@4.0.4
├─ browserify-zlib@0.2.0
├─ buffer-xor@1.0.3
├─ buffer@4.9.1
├─ builtin-status-codes@3.0.0
├─ cacache@11.3.2
├─ cache-base@1.0.1
├─ caller-callsite@2.0.0
├─ caller-path@2.0.0
├─ callsites@2.0.0
├─ camelcase-keys@2.1.0
├─ caniuse-lite@1.0.30000963
├─ case-sensitive-paths-webpack-plugin@2.2.0
├─ caseless@0.12.0
├─ chokidar@2.1.5
├─ chownr@1.1.1
├─ chrome-trace-event@1.0.0
├─ class-utils@0.3.6
├─ cliui@4.1.0
├─ clone-deep@2.0.2
├─ coa@2.0.2
├─ code-point-at@1.1.0
├─ collection-visit@1.0.0
├─ color-convert@1.9.3
├─ color-name@1.1.3
├─ color-string@1.5.3
├─ color@3.1.1
├─ combined-stream@1.0.7
├─ commander@2.20.0
├─ commondir@1.0.1
├─ compression-webpack-plugin@2.0.0
├─ concat-map@0.0.1
├─ concat-stream@1.6.2
├─ console-browserify@1.1.0
├─ console-control-strings@1.1.0
├─ constants-browserify@1.0.0
├─ convert-source-map@1.6.0
├─ copy-concurrently@1.0.5
├─ copy-descriptor@0.1.1
├─ core-js-compat@3.0.1
├─ core-js-pure@3.0.1
├─ core-js@2.6.5
├─ core-util-is@1.0.2
├─ cosmiconfig@5.2.0
├─ create-ecdh@4.0.3
├─ create-hmac@1.1.7
├─ cross-spawn@6.0.5
├─ crypto-browserify@3.12.0
├─ css-blank-pseudo@0.1.4
├─ css-color-names@0.0.4
├─ css-declaration-sorter@4.0.1
├─ css-has-pseudo@0.10.0
├─ css-loader@2.1.1
├─ css-prefers-color-scheme@3.1.1
├─ css-select-base-adapter@0.1.1
├─ css-select@2.0.2
├─ css-tree@1.0.0-alpha.28
├─ css-unit-converter@1.1.1
├─ css-url-regex@1.1.0
├─ css-what@2.1.3
├─ cssdb@4.4.0
├─ cssesc@2.0.0
├─ cssnano-preset-default@4.0.7
├─ cssnano-util-raw-cache@4.0.1
├─ cssnano-util-same-parent@4.0.1
├─ cssnano@4.1.10
├─ csso@3.5.1
├─ currently-unhandled@0.4.1
├─ cyclist@0.2.2
├─ dashdash@1.14.1
├─ date-now@0.1.4
├─ debug@4.1.1
├─ decode-uri-component@0.2.0
├─ deep-extend@0.6.0
├─ define-properties@1.1.3
├─ delayed-stream@1.0.0
├─ delegates@1.0.0
├─ des.js@1.0.0
├─ detect-file@1.0.0
├─ detect-libc@1.0.3
├─ diffie-hellman@5.0.3
├─ dom-serializer@0.1.1
├─ domain-browser@1.2.0
├─ domelementtype@1.3.1
├─ domutils@1.7.0
├─ dot-prop@4.2.0
├─ duplexify@3.7.1
├─ ecc-jsbn@0.1.2
├─ electron-to-chromium@1.3.127
├─ emojis-list@2.1.0
├─ entities@1.1.2
├─ errno@0.1.7
├─ error-ex@1.3.2
├─ es-abstract@1.13.0
├─ es-to-primitive@1.2.0
├─ escape-string-regexp@1.0.5
├─ eslint-scope@4.0.3
├─ esprima@4.0.1
├─ esrecurse@4.2.1
├─ estraverse@4.2.0
├─ events@3.0.0
├─ execa@1.0.0
├─ expand-brackets@2.1.4
├─ expand-tilde@2.0.2
├─ extend@3.0.2
├─ extglob@2.0.4
├─ extsprintf@1.3.0
├─ fast-deep-equal@2.0.1
├─ fast-json-stable-stringify@2.0.0
├─ file-loader@3.0.1
├─ fill-range@4.0.0
├─ findup-sync@2.0.0
├─ flatted@2.0.0
├─ flatten@1.0.2
├─ flush-write-stream@1.1.1
├─ for-in@1.0.2
├─ for-own@1.0.0
├─ forever-agent@0.6.1
├─ form-data@2.3.3
├─ from2@2.3.0
├─ fs-minipass@1.2.5
├─ fs.realpath@1.0.0
├─ fsevents@1.2.8
├─ fstream@1.0.11
├─ gauge@2.7.4
├─ gaze@1.1.3
├─ get-stream@4.1.0
├─ get-value@2.0.6
├─ getpass@0.1.7
├─ glob-parent@3.1.0
├─ glob@7.1.3
├─ global-prefix@1.0.2
├─ globule@1.2.1
├─ har-schema@2.0.0
├─ har-validator@5.1.3
├─ has-ansi@2.0.0
├─ has-unicode@2.0.1
├─ has-value@1.0.0
├─ has-values@1.0.0
├─ hash.js@1.1.7
├─ hex-color-regex@1.1.0
├─ hmac-drbg@1.0.1
├─ hosted-git-info@2.7.1
├─ hsl-regex@1.0.0
├─ hsla-regex@1.0.0
├─ html-comment-regex@1.1.2
├─ http-signature@1.2.0
├─ https-browserify@1.0.0
├─ iconv-lite@0.4.24
├─ icss-replace-symbols@1.1.0
├─ icss-utils@4.1.0
├─ ieee754@1.1.13
├─ ignore-walk@3.0.1
├─ import-cwd@2.1.0
├─ import-fresh@2.0.0
├─ import-from@2.1.0
├─ import-local@2.0.0
├─ in-publish@2.0.0
├─ indent-string@2.1.0
├─ indexof@0.0.1
├─ inflight@1.0.6
├─ ini@1.3.5
├─ interpret@1.2.0
├─ invariant@2.2.4
├─ invert-kv@2.0.0
├─ is-absolute-url@2.1.0
├─ is-accessor-descriptor@1.0.0
├─ is-arrayish@0.2.1
├─ is-binary-path@1.0.1
├─ is-color-stop@1.1.0
├─ is-data-descriptor@1.0.0
├─ is-date-object@1.0.1
├─ is-descriptor@1.0.2
├─ is-extglob@2.1.1
├─ is-finite@1.0.2
├─ is-fullwidth-code-point@1.0.0
├─ is-obj@1.0.1
├─ is-plain-object@2.0.4
├─ is-regex@1.0.4
├─ is-resolvable@1.1.0
├─ is-stream@1.1.0
├─ is-svg@3.0.0
├─ is-symbol@1.0.2
├─ is-typedarray@1.0.0
├─ is-utf8@0.2.1
├─ is-windows@1.0.2
├─ isarray@1.0.0
├─ isexe@2.0.0
├─ isstream@0.1.2
├─ js-base64@2.5.1
├─ js-levenshtein@1.1.6
├─ js-tokens@4.0.0
├─ js-yaml@3.13.1
├─ jsesc@2.5.2
├─ json-parse-better-errors@1.0.2
├─ json-schema-traverse@0.4.1
├─ json-schema@0.2.3
├─ json-stringify-safe@5.0.1
├─ json5@2.1.0
├─ jsprim@1.4.1
├─ kind-of@3.2.2
├─ last-call-webpack-plugin@3.0.0
├─ lcid@2.0.0
├─ load-json-file@1.1.0
├─ loader-runner@2.4.0
├─ locate-path@3.0.0
├─ lodash.get@4.4.2
├─ lodash.has@4.5.2
├─ lodash.memoize@4.1.2
├─ lodash.tail@4.1.1
├─ lodash.template@4.4.0
├─ lodash.templatesettings@4.1.0
├─ lodash.uniq@4.5.0
├─ lodash@4.17.11
├─ loose-envify@1.4.0
├─ loud-rejection@1.6.0
├─ lru-cache@4.1.5
├─ make-dir@2.1.0
├─ mamacro@0.0.3
├─ map-age-cleaner@0.1.3
├─ map-obj@1.0.1
├─ map-visit@1.0.0
├─ mem@4.3.0
├─ memory-fs@0.4.1
├─ meow@3.7.0
├─ micromatch@3.1.10
├─ miller-rabin@4.0.1
├─ mime-db@1.40.0
├─ mime-types@2.1.24
├─ mimic-fn@2.1.0
├─ mini-css-extract-plugin@0.5.0
├─ minimalistic-crypto-utils@1.0.1
├─ minimatch@3.0.4
├─ minimist@1.2.0
├─ minizlib@1.2.1
├─ mississippi@3.0.0
├─ mixin-deep@1.3.1
├─ mixin-object@2.0.1
├─ mkdirp@0.5.1
├─ move-concurrently@1.0.1
├─ ms@2.1.1
├─ nan@2.13.2
├─ nanomatch@1.2.13
├─ needle@2.3.1
├─ nice-try@1.0.5
├─ node-gyp@3.8.0
├─ node-libs-browser@2.2.0
├─ node-pre-gyp@0.12.0
├─ node-releases@1.1.17
├─ node-sass@4.12.0
├─ nopt@3.0.6
├─ normalize-package-data@2.5.0
├─ normalize-range@0.1.2
├─ normalize-url@3.3.0
├─ npm-bundled@1.0.6
├─ npm-packlist@1.4.1
├─ npm-run-path@2.0.2
├─ npmlog@4.1.2
├─ nth-check@1.0.2
├─ num2fraction@1.2.2
├─ oauth-sign@0.9.0
├─ object-assign@4.1.1
├─ object-copy@0.1.0
├─ object.assign@4.1.0
├─ object.getownpropertydescriptors@2.0.3
├─ object.values@1.1.0
├─ optimize-css-assets-webpack-plugin@5.0.1
├─ os-browserify@0.3.0
├─ os-homedir@1.0.2
├─ os-locale@3.1.0
├─ os-tmpdir@1.0.2
├─ osenv@0.1.5
├─ p-defer@1.0.0
├─ p-finally@1.0.0
├─ p-is-promise@2.1.0
├─ p-limit@2.2.0
├─ p-locate@3.0.0
├─ p-try@2.2.0
├─ pako@1.0.10
├─ parallel-transform@1.1.0
├─ parse-passwd@1.0.0
├─ pascalcase@0.1.1
├─ path-browserify@0.0.0
├─ path-complete-extname@1.0.0
├─ path-dirname@1.0.2
├─ path-exists@3.0.0
├─ path-key@2.0.1
├─ path-parse@1.0.6
├─ path-type@1.1.0
├─ performance-now@2.1.0
├─ pinkie@2.0.4
├─ pnp-webpack-plugin@1.4.3
├─ posix-character-classes@0.1.1
├─ postcss-attribute-case-insensitive@4.0.1
├─ postcss-calc@7.0.1
├─ postcss-color-functional-notation@2.0.1
├─ postcss-color-gray@5.0.0
├─ postcss-color-hex-alpha@5.0.3
├─ postcss-color-mod-function@3.0.3
├─ postcss-color-rebeccapurple@4.0.1
├─ postcss-colormin@4.0.3
├─ postcss-convert-values@4.0.1
├─ postcss-custom-media@7.0.8
├─ postcss-custom-properties@8.0.10
├─ postcss-custom-selectors@5.1.2
├─ postcss-dir-pseudo-class@5.0.0
├─ postcss-discard-comments@4.0.2
├─ postcss-discard-duplicates@4.0.2
├─ postcss-discard-empty@4.0.1
├─ postcss-discard-overridden@4.0.1
├─ postcss-double-position-gradients@1.0.0
├─ postcss-env-function@2.0.2
├─ postcss-flexbugs-fixes@4.1.0
├─ postcss-focus-visible@4.0.0
├─ postcss-focus-within@3.0.0
├─ postcss-font-variant@4.0.0
├─ postcss-gap-properties@2.0.0
├─ postcss-image-set-function@3.0.1
├─ postcss-import@12.0.1
├─ postcss-initial@3.0.0
├─ postcss-lab-function@2.0.1
├─ postcss-load-config@2.0.0
├─ postcss-loader@3.0.0
├─ postcss-logical@3.0.0
├─ postcss-media-minmax@4.0.0
├─ postcss-merge-longhand@4.0.11
├─ postcss-merge-rules@4.0.3
├─ postcss-minify-font-values@4.0.2
├─ postcss-minify-gradients@4.0.2
├─ postcss-minify-params@4.0.2
├─ postcss-minify-selectors@4.0.2
├─ postcss-modules-extract-imports@2.0.0
├─ postcss-modules-local-by-default@2.0.6
├─ postcss-modules-scope@2.1.0
├─ postcss-modules-values@2.0.0
├─ postcss-nesting@7.0.0
├─ postcss-normalize-charset@4.0.1
├─ postcss-normalize-display-values@4.0.2
├─ postcss-normalize-positions@4.0.2
├─ postcss-normalize-repeat-style@4.0.2
├─ postcss-normalize-string@4.0.2
├─ postcss-normalize-timing-functions@4.0.2
├─ postcss-normalize-unicode@4.0.1
├─ postcss-normalize-url@4.0.1
├─ postcss-normalize-whitespace@4.0.2
├─ postcss-ordered-values@4.1.2
├─ postcss-overflow-shorthand@2.0.0
├─ postcss-page-break@2.0.0
├─ postcss-place@4.0.1
├─ postcss-preset-env@6.6.0
├─ postcss-pseudo-class-any-link@6.0.0
├─ postcss-reduce-initial@4.0.3
├─ postcss-reduce-transforms@4.0.2
├─ postcss-replace-overflow-wrap@3.0.0
├─ postcss-safe-parser@4.0.1
├─ postcss-selector-matches@4.0.0
├─ postcss-selector-not@4.0.0
├─ postcss-svgo@4.0.2
├─ postcss-unique-selectors@4.0.1
├─ private@0.1.8
├─ process-nextick-args@2.0.0
├─ process@0.11.10
├─ promise-inflight@1.0.1
├─ prr@1.0.1
├─ pseudomap@1.0.2
├─ psl@1.1.31
├─ public-encrypt@4.0.3
├─ pumpify@1.5.1
├─ punycode@1.4.1
├─ q@1.5.1
├─ qs@6.5.2
├─ querystring-es3@0.2.1
├─ querystring@0.2.0
├─ randomfill@1.0.4
├─ rc@1.2.8
├─ read-cache@1.0.0
├─ read-pkg@1.1.0
├─ readdirp@2.2.1
├─ redent@1.0.0
├─ regenerate-unicode-properties@8.0.2
├─ regenerator-transform@0.13.4
├─ regexp-tree@0.1.5
├─ regjsgen@0.5.0
├─ regjsparser@0.6.0
├─ remove-trailing-separator@1.1.0
├─ repeat-element@1.1.3
├─ repeating@2.0.1
├─ request@2.88.0
├─ require-from-string@2.0.2
├─ resolve-cwd@2.0.0
├─ resolve-dir@1.0.1
├─ resolve-url@0.2.1
├─ ret@0.1.15
├─ rgb-regex@1.0.1
├─ rgba-regex@1.0.0
├─ rimraf@2.6.3
├─ run-queue@1.0.3
├─ safer-buffer@2.1.2
├─ sass-graph@2.2.4
├─ sass-loader@7.1.0
├─ sax@1.2.4
├─ scss-tokenizer@0.2.3
├─ semver@5.7.0
├─ set-value@2.0.0
├─ setimmediate@1.0.5
├─ shallow-clone@1.0.0
├─ shebang-command@1.2.0
├─ shebang-regex@1.0.0
├─ simple-swizzle@0.2.2
├─ snapdragon-node@2.1.1
├─ snapdragon-util@3.0.1
├─ source-list-map@2.0.1
├─ source-map-resolve@0.5.2
├─ source-map-support@0.5.12
├─ source-map-url@0.4.0
├─ spark-md5@3.0.0
├─ spdx-correct@3.1.0
├─ spdx-exceptions@2.2.0
├─ split-string@3.1.0
├─ sprintf-js@1.0.3
├─ sshpk@1.16.1
├─ ssri@6.0.1
├─ stable@0.1.8
├─ static-extend@0.1.2
├─ stdout-stream@1.4.1
├─ stream-browserify@2.0.2
├─ stream-each@1.2.3
├─ stream-http@2.8.3
├─ string_decoder@1.2.0
├─ strip-bom@2.0.0
├─ strip-eof@1.0.0
├─ strip-indent@1.0.1
├─ strip-json-comments@2.0.1
├─ style-loader@0.23.1
├─ stylehacks@4.0.3
├─ supports-color@5.5.0
├─ svgo@1.2.2
├─ tar@2.2.1
├─ terser-webpack-plugin@1.2.3
├─ terser@3.17.0
├─ through2@2.0.5
├─ timers-browserify@2.0.10
├─ timsort@0.3.0
├─ to-arraybuffer@1.0.1
├─ to-fast-properties@2.0.0
├─ to-regex-range@2.1.1
├─ tough-cookie@2.4.3
├─ trim-newlines@1.0.0
├─ trim-right@1.0.1
├─ true-case-path@1.0.3
├─ ts-pnp@1.1.2
├─ tslib@1.9.3
├─ tty-browserify@0.0.0
├─ tunnel-agent@0.6.0
├─ turbolinks@5.2.0
├─ tweetnacl@0.14.5
├─ typedarray@0.0.6
├─ unicode-canonical-property-names-ecmascript@1.0.4
├─ unicode-match-property-ecmascript@1.0.4
├─ unicode-match-property-value-ecmascript@1.1.0
├─ unicode-property-aliases-ecmascript@1.0.5
├─ union-value@1.0.0
├─ unique-filename@1.1.1
├─ unique-slug@2.0.1
├─ unquote@1.1.1
├─ unset-value@1.0.0
├─ upath@1.1.2
├─ uri-js@4.2.2
├─ urix@0.1.0
├─ url@0.11.0
├─ use@3.1.1
├─ util-deprecate@1.0.2
├─ util.promisify@1.0.0
├─ util@0.11.1
├─ uuid@3.3.2
├─ v8-compile-cache@2.0.2
├─ validate-npm-package-license@3.0.4
├─ vendors@1.0.2
├─ verror@1.10.0
├─ vm-browserify@0.0.4
├─ watchpack@1.6.0
├─ webpack-assets-manifest@3.1.1
├─ webpack-cli@3.3.1
├─ webpack@4.30.0
├─ which-module@2.0.0
├─ which@1.3.1
├─ wide-align@1.1.3
├─ worker-farm@1.6.0
├─ xtend@4.0.1
├─ y18n@4.0.0
├─ yallist@3.0.3
├─ yargs-parser@11.1.1
└─ yargs@12.0.5
✨ Done in 31.27s.
Installing dev server for live reloading
run yarn add --dev webpack-dev-server from "."
yarn add v1.12.3
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "@rails/webpacker > pnp-webpack-plugin > ts-pnp@1.1.2" has unmet peer dependency "typescript@*".
warning "webpack-dev-server > webpack-dev-middleware@3.6.2" has unmet peer dependency "webpack@^4.0.0".
warning " > webpack-dev-server@3.3.1" has unmet peer dependency "webpack@^4.0.0".
[4/4] 📃 Building fresh packages...
success Saved lockfile.
success Saved 87 new dependencies.
info Direct dependencies
└─ webpack-dev-server@3.3.1
info All dependencies
├─ accepts@1.3.5
├─ ansi-colors@3.2.4
├─ ansi-html@0.0.7
├─ array-flatten@1.1.1
├─ array-union@1.0.2
├─ array-uniq@1.0.3
├─ async@1.5.2
├─ batch@0.6.1
├─ body-parser@1.18.3
├─ bonjour@3.5.0
├─ buffer-indexof@1.1.1
├─ compressible@2.0.17
├─ compression@1.7.4
├─ connect-history-api-fallback@1.6.0
├─ content-disposition@0.5.2
├─ cookie-signature@1.0.6
├─ cookie@0.3.1
├─ deep-equal@1.0.1
├─ default-gateway@4.2.0
├─ del@4.1.0
├─ destroy@1.0.4
├─ detect-node@2.0.4
├─ dns-equal@1.0.0
├─ dns-packet@1.3.1
├─ dns-txt@2.0.2
├─ ee-first@1.1.1
├─ eventemitter3@3.1.0
├─ eventsource@1.0.7
├─ express@4.16.4
├─ faye-websocket@0.10.0
├─ finalhandler@1.1.1
├─ follow-redirects@1.7.0
├─ forwarded@0.1.2
├─ globby@6.1.0
├─ handle-thing@2.0.0
├─ hpack.js@2.1.6
├─ html-entities@1.2.1
├─ http-deceiver@1.2.7
├─ http-errors@1.6.3
├─ http-parser-js@0.5.0
├─ http-proxy-middleware@0.19.1
├─ http-proxy@1.17.0
├─ internal-ip@4.3.0
├─ ip-regex@2.1.0
├─ ip@1.1.5
├─ ipaddr.js@1.9.0
├─ is-path-cwd@2.1.0
├─ is-path-in-cwd@2.1.0
├─ is-path-inside@2.1.0
├─ is-wsl@1.1.0
├─ json3@3.3.2
├─ killable@1.0.1
├─ loglevel@1.6.1
├─ media-typer@0.3.0
├─ merge-descriptors@1.0.1
├─ methods@1.1.2
├─ mime@2.4.2
├─ multicast-dns-service-types@1.1.0
├─ multicast-dns@6.2.3
├─ negotiator@0.6.1
├─ node-forge@0.7.5
├─ obuf@1.1.2
├─ on-headers@1.0.2
├─ opn@5.5.0
├─ original@1.0.2
├─ p-map@2.1.0
├─ path-is-inside@1.0.2
├─ path-to-regexp@0.1.7
├─ portfinder@1.0.20
├─ proxy-addr@2.0.5
├─ querystringify@2.1.1
├─ raw-body@2.3.3
├─ select-hose@2.0.0
├─ selfsigned@1.10.4
├─ serve-index@1.9.1
├─ serve-static@1.13.2
├─ sockjs-client@1.3.0
├─ sockjs@0.3.19
├─ spdy-transport@3.0.0
├─ spdy@4.0.0
├─ thunky@1.0.3
├─ unpipe@1.0.0
├─ utils-merge@1.0.1
├─ wbuf@1.7.3
├─ webpack-dev-middleware@3.6.2
├─ webpack-dev-server@3.3.1
└─ websocket-extensions@0.1.3
✨ Done in 7.20s.
Webpacker successfully installed 🎉 🍰
$ rails s
=> Booting Puma
=> Rails 6.0.0.rc1 application starting in development
=> Run `rails server --help` for more startup options
Puma starting in single mode...
* Version 3.12.1 (ruby 2.6.2-p47), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
Started GET "/" for ::1 at 2019-04-27 11:51:05 +0900
(6.6ms) SELECT sqlite_version(*)
Processing by Rails::WelcomeController#index as HTML
Rendering /Users/misakishioi/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/railties-6.0.0.rc1/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/misakishioi/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/railties-6.0.0.rc1/lib/rails/templates/rails/welcome/index.html.erb (Duration: 17.1ms | Allocations: 484)
Completed 200 OK in 49ms (Views: 29.9ms | ActiveRecord: 0.0ms | Allocations: 3918)
$ rails g scaffold Blog title:string content:text
Running via Spring preloader in process 89789
invoke active_record
create db/migrate/20190427025240_create_blogs.rb
create app/models/blog.rb
invoke test_unit
create test/models/blog_test.rb
create test/fixtures/blogs.yml
invoke resource_route
route resources :blogs
invoke scaffold_controller
create app/controllers/blogs_controller.rb
invoke erb
create app/views/blogs
create app/views/blogs/index.html.erb
create app/views/blogs/edit.html.erb
create app/views/blogs/show.html.erb
create app/views/blogs/new.html.erb
create app/views/blogs/_form.html.erb
invoke test_unit
create test/controllers/blogs_controller_test.rb
create test/system/blogs_test.rb
invoke helper
create app/helpers/blogs_helper.rb
invoke test_unit
invoke jbuilder
create app/views/blogs/index.json.jbuilder
create app/views/blogs/show.json.jbuilder
create app/views/blogs/_blog.json.jbuilder
invoke assets
invoke scss
create app/assets/stylesheets/blogs.scss
invoke scss
create app/assets/stylesheets/scaffolds.scss
scaffoldした後にmigrationを実行せずにアクセスするとエラーが表示されるが、GUIでエラーが解消できる
モデルで has_rich_text :content を指定してindexを表示しようとすると
Could not find table 'action_text_rich_texts'
$ rails action_text:install
Copying actiontext.scss to app/assets/stylesheets
create app/assets/stylesheets/actiontext.scss
Copying fixtures to test/fixtures/action_text/rich_texts.yml
create test/fixtures/action_text/rich_texts.yml
Copying blob rendering partial to app/views/active_storage/blobs/_blob.html.erb
create app/views/active_storage/blobs/_blob.html.erb
Installing JavaScript dependencies
run yarn add trix@^1.0.0 @rails/actiontext@^6.0.0-rc1 from "."
yarn add v1.12.3
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "@rails/webpacker > pnp-webpack-plugin > ts-pnp@1.1.2" has unmet peer dependency "typescript@*".
warning " > webpack-dev-server@3.3.1" has unmet peer dependency "webpack@^4.0.0".
warning "webpack-dev-server > webpack-dev-middleware@3.6.2" has unmet peer dependency "webpack@^4.0.0".
[4/4] 📃 Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
info Direct dependencies
├─ @rails/actiontext@6.0.0-rc1
└─ trix@1.1.1
info All dependencies
├─ @rails/actiontext@6.0.0-rc1
└─ trix@1.1.1
✨ Done in 10.37s.
Adding trix to app/javascript/packs/application.js
append app/javascript/packs/application.js
Adding @rails/actiontext to app/javascript/packs/application.js
append app/javascript/packs/application.js
Copied migration 20190427030441_create_active_storage_tables.active_storage.rb from active_storage
Copied migration 20190427030442_create_action_text_tables.action_text.rb from action_text
🍺
画像をドラッグ&ドロップで添付=>正常に表示されない=>画像の問題か検証するため、edit画面から元画像を削除し、別の画像を添付して投稿=>上記エラー
index=>show=>先ほどの正常に表示されない画像が添付されている状況=>画像のみ削除して投稿=>成功
画像が添付されていないレコードに別の画像を投稿 => 投稿自体は成功するが画像が正常に表示されない
minimagickに対してload errorが出ていたためmini magickをinstall
そうしたところ、次のエラーが発生
MiniMagick::Error (`mogrify -resize-to-limit [1024, 768] /var/folders/wz/85kpnlyx0hdbmgf4_445j9nc0000gn/T/ActiveStorage-9-20190427-7380-1akohaz.png` failed with error:
mogrify: unrecognized option `-resize-to-limit' @ error/mogrify.c/MogrifyImageCommand/5892.
):
minimagickのrequirementを確認したところ、
$ convert -version
Version: ImageMagick 6.8.9-7 Q16 x86_64 2014-09-11 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib fftw freetype jng jpeg lcms ltdl lzma png tiff xml zlib
ImageMagickのバージョンが6.8.9
自分のImageMagickのバージョンが7だったので
$ brew install imagemagick@6
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (heroku/brew, homebrew/core and homebrew/cask).
==> New Formulae
allureofthestars csound frps kubeaudit otf2 vapoursynth-ocr
boringtun cubelib gel leela-zero phpstan vapoursynth-sub
cfn-lint cypher-shell inlets libgr scws
cmix fasttext itk nlohmann-json sk
cpp-gsl faudio kahip ospray terrahub
cql frpc ktlint osqp vapoursynth-imwri
==> Updated Formulae
glib ✔ gmsh libchamplain phpunit
heroku/brew/heroku ✔ gnu-getopt libcoap picard-tools
heroku/brew/heroku-node ✔ gnuradio libdap pijul
icu4c ✔ go libdazzle pilosa
imagemagick ✔ goaccess libebml pixman
libpng ✔ godep libedit platformio
node ✔ golang-migrate libestr postgis
postgresql ✔ gomplate libetonyek postgresql@10
ruby-build ✔ gopass libfabric pre-commit
amazon-ecs-cli goreleaser libfixbuf presto
ammonite-repl gox libgit2 privoxy
ansifilter gr-osmosdr libgit2-glib prometheus
apache-flink gradle libical pspg
apache-geode grafana libjson-rpc-cpp psql2csv
apache-spark graphene liblcf pulumi
arangodb groovysdk liblinear purescript
aravis grpc libltc pushpin
argyll-cms gst-editing-services libmatroska putty
asciidoctor gst-libav libmicrohttpd py3cairo
autojump gst-plugins-bad libmspub pyenv
autopep8 gst-plugins-base libphonenumber pygobject3
avra gst-plugins-good libpqxx qalculate-gtk
aws-iam-authenticator gst-plugins-ugly libpulsar qbs
aws-okta gst-python libqalculate qemu
aws-sdk-cpp gst-rtsp-server librealsense r
azure-cli gstreamer libressl rawtoaces
bash gtk+3 libssh rclone
bdw-gc gtranslator libtorrent-rasterbar rebar3
binaryen hadoop libuv restic
bind harfbuzz libvisio riff
bit hebcal libvmaf ripgrep
bitrise helmfile linkerd rke
blast hexyl lmod roll
boost hfstospell lnav root
botan hivemind lolcat rsyslog
btfs hledger lumo ruby
bwfmetaedit hlint lynis rust
caffe homebank lz4 rustup-init
carla hopenpgp-tools mapnik s-nail
castxml howdoi maven salt
certbot htmlcxx maxwell serverless
cfssl http-parser media-info shfmt
chakra httpd memcached ship
chronograf hub mesa sile
clang-format hugo meson silk
cmake hydra micronaut simple-scan
cmark hyperscan mimic siril
cockroach hypre minetest skaffold
coffeescript i2p mingw-w64 sn0int
cogl iamy minio sonarqube
cointop idnits minio-mc sonobuoy
conan igv mkvtoolnix sops
couchdb ilmbase modules sphinx-doc
cpprestsdk imagemagick@6 mono sqldiff
cromwell imake mosquitto sqlite
crowdin influxdb most sqlite-analyzer
crystal iniparser mpd sqlmap
crystal-icr ios-sim mps-youtube ssh-copy-id
ctl ios-webkit-debug-proxy msmtp sshguard
cython iozone mypy step
dartsim ipbt n stubby
dbhash ipfs nagios stunnel
dcos-cli ipv6calc nano subversion
dfmt ipython nats-streaming-server svgo
digdag ircii ncmpcpp swagger-codegen
dmd isl netdata swagger-codegen@2
docfx istioctl newsboat swiftformat
docker itstool nghttp2 synfig
docker-completion jailkit nginx tarantool
doctl jbig2dec nifi taskell
dwdiff jena node-build tbb
dynare jenkins node@10 tcpreplay
emacs jenkins-lts node@8 tectonic
emscripten jetty nomad telegraf
epubcheck jfrog-cli-go numpy teleport
erlang jhiccup ocamlbuild tmux
erlang@20 jid octave tmuxinator-completion
ethereum jmeter odpi tomcat
exploitdb john opam topgrade
faas-cli joplin open-mpi triton
ffmpeg jp2a opencoarrays ttfautohint
field3d jruby opencolorio tundra
firebase-cli json_spirit opencv typescript
flatbuffers jump opencv@2 ucloud
flow just opencv@3 uhd
fluxctl kafka openexr ultralist
fn khard openimageio ungit
fontforge kibana@5.6 openrct2 unrar
freeling kitchen-sync openssh urbit
freetds klavaro openttd util-linux
frugal knot openvdb v8
futhark knot-resolver openvpn vapoursynth
galen kore operator-sdk varnish
gauge kotlin opus vault
gawk krb5 overmind vcdimager
gcc kubecfg packer vim
gcc@5 kubernetes-cli paket vips
gcc@6 kyoto-cabinet parallel visp
gcc@7 kyoto-tycoon passenger vte3
gegl lastpass-cli pazpar2 vtk
getdns laszip pbrt weaver
ghc latex2html pcapplusplus widelands
gifsicle latexml pcl wp-cli
git-lfs lbdb pcre2 wtf
gitfs lcdf-typetools pdal xcodegen
gitlab-runner ldc pdfgrep xonsh
gitless lego pdnsrec yaf
gjs lgogdownloader pegtl yaz
glances libatomic_ops pgcli ykman
glfw libb2 php youtube-dl
glm libbluray php-code-sniffer zebra
glooctl libcddb php-cs-fixer znc
glslang libcdio php@7.1 zorba
gmic libcdr php@7.2 zstd
==> Deleted Formulae
safe
==> Installing dependencies for imagemagick@6: libpng, freetype, libtiff and openjpeg
==> Installing imagemagick@6 dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.37.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/bb/bbdd94bdd5954bc50c096391486e67265dce5631efb913dcffe4469806a242b6?__gda__=exp=15
######################################################################## 100.0%
==> Pouring libpng-1.6.37.high_sierra.bottle.tar.gz
🍺 /usr/local/Cellar/libpng/1.6.37: 27 files, 1.2MB
==> Installing imagemagick@6 dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.10.0.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/d1/d19594d298d7357cbcfa700edcb6224a5edf8200924cadda3d2c91f0751f0113?__gda__=exp=15
######################################################################## 100.0%
==> Pouring freetype-2.10.0.high_sierra.bottle.tar.gz
🍺 /usr/local/Cellar/freetype/2.10.0: 61 files, 2.3MB
==> Installing imagemagick@6 dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.10_1.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/f0/f05323c49236328f4a63e0acb9ff340baf37e589cf5699f334d1e98928f87fd4?__gda__=exp=15
######################################################################## 100.0%
==> Pouring libtiff-4.0.10_1.high_sierra.bottle.tar.gz
🍺 /usr/local/Cellar/libtiff/4.0.10_1: 246 files, 3.5MB
==> Installing imagemagick@6 dependency: openjpeg
==> Downloading https://homebrew.bintray.com/bottles/openjpeg-2.3.1.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/1e/1eb8b2f698ecf16196e06a2d9f7ba20eb7f0ba447d351e36eb3344d3ed6c5c58?__gda__=exp=15
######################################################################## 100.0%
==> Pouring openjpeg-2.3.1.high_sierra.bottle.tar.gz
🍺 /usr/local/Cellar/openjpeg/2.3.1: 516 files, 12.8MB
==> Installing imagemagick@6
==> Downloading https://homebrew.bintray.com/bottles/imagemagick@6-6.9.10-42.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/82/8229b8dceaa37f5ea1b25ddcd1dad2bce7fbf00bfb1374e3419b63f616bc67e8?__gda__=exp=15
######################################################################## 100.0%
==> Pouring imagemagick@6-6.9.10-42.high_sierra.bottle.tar.gz
==> Caveats
imagemagick@6 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have imagemagick@6 first in your PATH run:
echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> ~/.zshrc
For compilers to find imagemagick@6 you may need to set:
export LDFLAGS="-L/usr/local/opt/imagemagick@6/lib"
export CPPFLAGS="-I/usr/local/opt/imagemagick@6/include"
For pkg-config to find imagemagick@6 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig"
==> Summary
🍺 /usr/local/Cellar/imagemagick@6/6.9.10-42: 1,525 files, 24.3MB
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /Users/misakishioi/Library/Caches/Homebrew/exercism--3.0.11.high_sierra.bottle.tar.gz... (5.9MB)
Removing: /usr/local/Cellar/freetype/2.9.1... (60 files, 2.6MB)
Removing: /usr/local/Cellar/libpng/1.6.36... (27 files, 1.2MB)
Removing: /Users/misakishioi/Library/Caches/Homebrew/libpng--1.6.36.high_sierra.bottle.tar.gz... (440KB)
Removing: /usr/local/Cellar/libtiff/4.0.10... (246 files, 3.5MB)
Removing: /Users/misakishioi/Library/Caches/Homebrew/little-cms2--2.9.high_sierra.bottle.1.tar.gz... (378.2KB)
Removing: /usr/local/Cellar/openjpeg/2.3.0... (515 files, 12.9MB)
Removing: /usr/local/Cellar/openssl/1.0.2q... (1,794 files, 12.1MB)
Removing: /Users/misakishioi/Library/Caches/Homebrew/openssl--1.0.2q.high_sierra.bottle.tar.gz... (3.7MB)
Removing: /usr/local/Cellar/pcre/8.42... (204 files, 5.3MB)
Removing: /Users/misakishioi/Library/Caches/Homebrew/ruby-build--20190401.tar.gz... (60.3KB)
Removing: /Users/misakishioi/Library/Caches/Homebrew/selenium-server-standalone--3.141.59.jar... (10.2MB)
Removing: /Users/misakishioi/Library/Caches/Homebrew/tree--1.8.0.high_sierra.bottle.tar.gz... (50.5KB)
Removing: /Users/misakishioi/Library/Caches/Homebrew/webp--1.0.2.high_sierra.bottle.tar.gz... (847.3KB)
Removing: /Users/misakishioi/Library/Caches/Homebrew/Cask/visual-studio-code--1.32.3,a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4.zip... (67.7MB)
Removing: /Users/misakishioi/Library/Logs/Homebrew/the_silver_searcher... (64B)
Removing: /Users/misakishioi/Library/Logs/Homebrew/pcre... (64B)
Removing: /Users/misakishioi/Library/Logs/Homebrew/openssl... (64B)
Removing: /Users/misakishioi/Library/Logs/Homebrew/rbenv... (64B)
Removing: /Users/misakishioi/Library/Logs/Homebrew/automake... (64B)
Pruned 0 symbolic links and 2 directories from /usr/local
==> Caveats
==> imagemagick@6
imagemagick@6 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have imagemagick@6 first in your PATH run:
echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> ~/.zshrc
For compilers to find imagemagick@6 you may need to set:
export LDFLAGS="-L/usr/local/opt/imagemagick@6/lib"
export CPPFLAGS="-I/usr/local/opt/imagemagick@6/include"
For pkg-config to find imagemagick@6 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig"
$ gem unistall mini_magick
$ bundle install
で
ActiveRecord::RecordNotFound in ActiveStorage::RepresentationsController#show
Couldn't find ActiveStorage::Blob with 'id'=10
のため、
$ rails db:reset
Dropped database 'db/development.sqlite3'
Database 'db/test.sqlite3' does not exist
Created database 'db/development.sqlite3'
Created database 'db/test.sqlite3'
/Users/misakishioi/Projects/myapp/db/schema.rb doesn't exist yet. Run `rails db:migrate` to create it, then try again. If you do not intend to use a database, you should instead alter /Users/misakishioi/Projects/myapp/config/application.rb to limit the frameworks that will be loaded.
Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.9ms | Allocations: 26946)
ActionView::Template::Error (SQLite3::SQLException: no such table: blogs):
12: </thead>
13:
14: <tbody>
15: <% @blogs.each do |blog| %>
16: <tr>
17: <td><%= blog.title %></td>
18: <td><%= blog.content %></td>
再度
$ rails db:migrate
再度投稿
Completed 500 Internal Server Error in 92ms (ActiveRecord: 0.4ms | Allocations: 7508)
MiniMagick::Error (`mogrify -resize-to-limit [1024, 768] /var/folders/wz/85kpnlyx0hdbmgf4_445j9nc0000gn/T/ActiveStorage-1-20190427-8204-h5wfu9.png` failed with error:
mogrify: unrecognized option `-resize-to-limit' @ error/mogrify.c/MogrifyImageCommand/5892.
):
$ export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"
$ export PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig"
気づいた!
Started GET "/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--15600b0b846815065144f9d5898134e62ac79eaf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1/Screen%20Shot%202019-04-26%20at%2020.04.50.png" for ::1 at 2019-04-27 14:41:50 +0900
Processing by ActiveStorage::RepresentationsController#show as PNG
Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--15600b0b846815065144f9d5898134e62ac79eaf", "variation_key"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1", "filename"=>"Screen Shot 2019-04-26 at 20.04.50"}
ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Disk Storage (0.2ms) Checked if file exists at key: variants/irz0bykwoiwpg2rq94ks6e45hjpz/a2845b7f0f3bf59332871c37aa09358e5c3516a2ad65fc279472c39200d7e664 (no)
Disk Storage (1.4ms) Downloaded file from key: irz0bykwoiwpg2rq94ks6e45hjpz
DEPRECATION WARNING: Generating image variants will require the image_processing gem in Rails 6.1. Please add `gem 'image_processing', '~> 1.2'` to your Gemfile. (called from transformer at /Users/misakishioi/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activestorage-6.0.0.rc1/app/models/active_storage/variation.rb:64)
Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.2ms | Allocations: 6044)
LoadError (cannot load such file -- mini_magick):
Please add
gem 'image_processing', '~> 1.2'to your Gemfile.
actiontextで画像の添付を行う場合はimage_processingのインストールが必要
=>gem 'image_processing', '~> 1.2'
to your Gemfile.`はGemfileにコメントアウトされている。
=>コメントアウトを外すようにガイドに記載したい。
Action Text Overviewを参照して、ActionTextを使用しました。 画像をドラッグ&ドロップで添付した際、次のようなエラーが出力されました。
Started GET "/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--15600b0b846815065144f9d5898134e62ac79eaf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1/Screen%20Shot%202019-04-26%20at%2020.04.50.png" for ::1 at 2019-04-27 14:41:50 +0900
Processing by ActiveStorage::RepresentationsController#show as PNG
Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--15600b0b846815065144f9d5898134e62ac79eaf", "variation_key"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1", "filename"=>"Screen Shot 2019-04-26 at 20.04.50"}
ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Disk Storage (0.2ms) Checked if file exists at key: variants/irz0bykwoiwpg2rq94ks6e45hjpz/a2845b7f0f3bf59332871c37aa09358e5c3516a2ad65fc279472c39200d7e664 (no)
Disk Storage (1.4ms) Downloaded file from key: irz0bykwoiwpg2rq94ks6e45hjpz
DEPRECATION WARNING: Generating image variants will require the image_processing gem in Rails 6.1. Please add `gem 'image_processing', '~> 1.2'` to your Gemfile. (called from transformer at /Users/misakishioi/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activestorage-6.0.0.rc1/app/models/active_storage/variation.rb:64)
Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.2ms | Allocations: 6044)
LoadError (cannot load such file -- mini_magick):
このエラーを回避するため、ActionText を使用する場合にそGemfileにgem 'image_processing', '~> 1.2'
を追記します。
https://edgeguides.rubyonrails.org/action_text_overview.html
ActionText OverViewのInstallationに次の文章を追加します。
# gem 'image_processing', '~> 1.2'のコメントアウトを外して`bundle install`して下さい。
私はAction Text Overviewを参照して、ActionTextを使用しました。 画像をドラッグ&ドロップで添付した際、次のようなエラーが出力されました。
Started GET "/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--15600b0b846815065144f9d5898134e62ac79eaf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1/Screen%20Shot%202019-04-26%20at%2020.04.50.png" for ::1 at 2019-04-27 14:41:50 +0900
Processing by ActiveStorage::RepresentationsController#show as PNG
Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--15600b0b846815065144f9d5898134e62ac79eaf", "variation_key"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1", "filename"=>"Screen Shot 2019-04-26 at 20.04.50"}
ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Disk Storage (0.2ms) Checked if file exists at key: variants/irz0bykwoiwpg2rq94ks6e45hjpz/a2845b7f0f3bf59332871c37aa09358e5c3516a2ad65fc279472c39200d7e664 (no)
Disk Storage (1.4ms) Downloaded file from key: irz0bykwoiwpg2rq94ks6e45hjpz
DEPRECATION WARNING: Generating image variants will require the image_processing gem in Rails 6.1. Please add `gem 'image_processing', '~> 1.2'` to your Gemfile. (called from transformer at /Users/misakishioi/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activestorage-6.0.0.rc1/app/models/active_storage/variation.rb:64)
Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.2ms | Allocations: 6044)
LoadError (cannot load such file -- mini_magick):
このエラーが出るまで、私はimage_processingが必要であると言うことに気づいていませんでした。
A result of this workshop. rails/rails#36117
❯❯❯ rails action_text:install
Copying actiontext.scss to app/assets/stylesheets
create app/assets/stylesheets/actiontext.scss
Copying fixtures to test/fixtures/action_text/rich_texts.yml
create test/fixtures/action_text/rich_texts.yml
Copying blob rendering partial to app/views/active_storage/blobs/_blob.html.erb
create app/views/active_storage/blobs/_blob.html.erb
Installing JavaScript dependencies
run yarn add trix@^1.0.0 @rails/actiontext@^6.0.0-rc1 from "."
yarn add v1.12.3
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "@rails/webpacker > pnp-webpack-plugin > ts-pnp@1.1.2" has unmet peer dependency "typescript@*".
warning " > webpack-dev-server@3.3.1" has unmet peer dependency "webpack@^4.0.0".
warning "webpack-dev-server > webpack-dev-middleware@3.6.2" has unmet peer dependency "webpack@^4.0.0".
[4/4] 📃 Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
info Direct dependencies
├─ @rails/actiontext@6.0.0-rc1
└─ trix@1.1.1
info All dependencies
├─ @rails/actiontext@6.0.0-rc1
└─ trix@1.1.1
✨ Done in 10.37s.
Adding trix to app/javascript/packs/application.js
append app/javascript/packs/application.js
Adding @rails/actiontext to app/javascript/packs/application.js
append app/javascript/packs/application.js
Copied migration 20190427030441_create_active_storage_tables.active_storage.rb from active_storage
Copied migration 20190427030442_create_action_text_tables.action_text.rb from action_text
https://github.com/rails/rails/pull/36117#issuecomment-487273199
コメントをありがとう! 私はその例外処理が必要だとは思いません。 なぜなら、私はimage_processingがmini_magickに依存していることに気づきました。 https://github.com/janko/image_processing/blob/master/image_processing.gemspec
それに加えて、imege_processingをインストールせずにmini_magickのみをインストールした場合は、下記のようなエラーが発生します。
Started GET "/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0f05a8d929333df2e88d35023c031cdba15a291b/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1/tabouhiyoko.png" for ::1 at 2019-04-27 23:13:44 +0900
Processing by ActiveStorage::RepresentationsController#show as PNG
Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0f05a8d929333df2e88d35023c031cdba15a291b", "variation_key"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1", "filename"=>"tabouhiyoko"}
ActiveStorage::Blob Load (0.4ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
Disk Storage (0.1ms) Checked if file exists at key: variants/48jq1kqjq7koqcod7ngw2igr2bj2/a2845b7f0f3bf59332871c37aa09358e5c3516a2ad65fc279472c39200d7e664 (no)
Disk Storage (24.0ms) Downloaded file from key: 48jq1kqjq7koqcod7ngw2igr2bj2
DEPRECATION WARNING: Generating image variants will require the image_processing gem in Rails 6.1. Please add `gem 'image_processing', '~> 1.2'` to your Gemfile. (called from transformer at /Users/misakishioi/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activestorage-6.0.0.rc1/app/models/active_storage/variation.rb:64)
Completed 500 Internal Server Error in 187ms (ActiveRecord: 0.4ms | Allocations: 5213)
MiniMagick::Error (`mogrify -resize-to-limit [1024, 768] /var/folders/wz/85kpnlyx0hdbmgf4_445j9nc0000gn/T/ActiveStorage-5-20190427-18225-f3bpov.png` failed with error:
mogrify: unrecognized option `-resize-to-limit' @ error/mogrify.c/MogrifyImageCommand/5936.
):
これらのことから、この機能を使うためにimage_processingのインストールが必須であることがわかりますが、追加でmini_magickをインストールする必要はないように思います。
もしわたしが他に見落としていることがあれば、教えていただけますか?
Thank you for your comment! I don't think that exception handling is necessary. Because I noticed that image_processing relies on mini_magick.
And in addition to that, if you install only mini_magick without installing imege_processing, the following error occurs on mini_magick.
Started GET "/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0f05a8d929333df2e88d35023c031cdba15a291b/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1/tabouhiyoko.png" for ::1 at 2019-04-27 23:13:44 +0900
Processing by ActiveStorage::RepresentationsController#show as PNG
Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0f05a8d929333df2e88d35023c031cdba15a291b", "variation_key"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWdBRWFRSUFBdz09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bdd56a50d888ef5d9416578248b1b579125cfce1", "filename"=>"tabouhiyoko"}
ActiveStorage::Blob Load (0.4ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
Disk Storage (0.1ms) Checked if file exists at key: variants/48jq1kqjq7koqcod7ngw2igr2bj2/a2845b7f0f3bf59332871c37aa09358e5c3516a2ad65fc279472c39200d7e664 (no)
Disk Storage (24.0ms) Downloaded file from key: 48jq1kqjq7koqcod7ngw2igr2bj2
DEPRECATION WARNING: Generating image variants will require the image_processing gem in Rails 6.1. Please add `gem 'image_processing', '~> 1.2'` to your Gemfile. (called from transformer at /Users/misakishioi/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activestorage-6.0.0.rc1/app/models/active_storage/variation.rb:64)
Completed 500 Internal Server Error in 187ms (ActiveRecord: 0.4ms | Allocations: 5213)
MiniMagick::Error (`mogrify -resize-to-limit [1024, 768] /var/folders/wz/85kpnlyx0hdbmgf4_445j9nc0000gn/T/ActiveStorage-5-20190427-18225-f3bpov.png` failed with error:
mogrify: unrecognized option `-resize-to-limit' @ error/mogrify.c/MogrifyImageCommand/5936.
):
From these things, I can see that image_processing must be installed in order to use ActionText, but I don't think I need to install additional mini_magick.
Could you tell me if there is anything else I missed?
おつかれさまでした!
後日のワークショップで再開する際に、issueタイトルの日付を更新してreopenしてください!
issueはクローズしますが、その後も作業を続けていただいて大丈夫です!
是非このissueを活用なさってください。
現在以下のイベントの開催を予定しています。
参加をお待ちしてます!
MIT-LICENSE
This is a work log of a "OSS Gate workshop". "OSS Gate workshop" is an activity to increase OSS developers. Here's been discussed in Japanese. Thanks.
OSS Gateワークショップ関連情報