mysql2 LoadError on Rails 6.1.7 / Ruby 3.0.0
ronaparte
HOBBYOP
7 months ago
Hi,
I'm stuck with a LoadError: cannot load such file -- active_record/connection_adapters/mysql_adapter during my Rails build on Railway, specifically at the rake assets:precompile stage.
Rails 6.1.7 / Ruby 3.0.0
bundle installcompletes successfully (meaningmysql2gem is installed).My
Gemfileusesgem 'mysql2'(no strict version constraint).I've tried adding
nixpacks.tomlwithapt_packages = ["libmysqlclient-dev"]I think all ENV variables are correct
Could you please investigate? I can provide project/service IDs and full build logs.
Thanks,
Ron