Ruby on Rails Monday, June 26, 2017

On 26 June 2017 at 15:56, tom <> wrote:
> HI, im getting the error below during a cap deploy. i can run production
> console successfully on the server.
> any ideas?
> thx
> ...
> DEBUG [24759d1b] rake aborted!
> DEBUG [24759d1b] LoadError: Could not load
> 'active_record/connection_adapters/mysql2_adapter'. Make sure that the
> adapter in config/database.yml is valid. If you use an adapter other than '
> mysql', 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to
> the Gemfile.

Have you tried running assets:precompile locally, in production environment?

What have you got in database.yml? Also post Gemfile please.


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment