On 26 June 2017 at 15:56, tom <tomabroad@gmail.com> 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.
Colin
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuKLNZnfcaapvc3ypdi6JfRwM1wPwZpXpLBhsqKB1Km6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment