Could not open library ‘vips.42’; Could not open library ‘libvips.42.dylib’

If you have this problem on your local machine.. If you have just upgraded from rails 6 to 7, and have config.load_defaults 7.0 set in config/application.rb, then your app will use vips by default. If that’s what you want, just make sure vips is installed locally. You can install it with homebrew (thanks to @timroman … Read more

Rails `require’: cannot load such file — matrix

Matrix was removed from Ruby’s standard library in version 3.1. More info: https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/ With Ruby 3.1, matrix needs to be explicitly added to the Gemfile. You can add it manually or run something like: $ bundle add matrix After it’s added to the Gemfile, bundle your application: $ bundle install Then your application should continue … Read more

Rails 7 Ruby 3.1 LoadError: cannot load such file — net/smtp

For Rails 6 Add gem ‘net-smtp’, require: false to your Gemfile and run bundle. Similarly I assume you may have problems with net-imap and net-pop and so have to add them until a new mail gem version is released. gem ‘net-smtp’, require: false gem ‘net-imap’, require: false gem ‘net-pop’, require: false UPD: The mail gem … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)