Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading the 'pgcrypto' Active Record adapter. Missing a gem it depends on? #7

Open
sumitdey035 opened this issue Feb 27, 2020 · 4 comments

Comments

@sumitdey035
Copy link

I added the in the Gemlist when I update the adapter to pgcrypto I am getting the above error. Can you please help me with that? I am using rails 6 and ruby 2.6.5

@jmcbri
Copy link

jmcbri commented Feb 27, 2020

What are the results when you run 'bundle'?

@sumitdey035
Copy link
Author

sumitdey035 commented Feb 27, 2020

Bundle works fine. No error there. Whenever I try to do DB actions like migrate/rollback this error comes out

rake aborted!
LoadError: Error loading the 'pgcrypto' Active Record adapter. Missing a gem it depends on? cannot load such file -- active_record/connection_adapters/pgcrypto_adapter/rails_6
/Users/sumitdey/workspace/weguide_medical/config/environment.rb:5:in `<main>'
/Users/sumitdey/.rbenv/versions/2.6.5/bin/bundle:23:in `load'
/Users/sumitdey/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>'

Caused by:
LoadError: cannot load such file -- active_record/connection_adapters/pgcrypto_adapter/rails_6
/Users/sumitdey/workspace/weguide_medical/config/environment.rb:5:in `<main>'
/Users/sumitdey/.rbenv/versions/2.6.5/bin/bundle:23:in `load'
/Users/sumitdey/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>'

Caused by:
Bootsnap::LoadPathCache::FallbackScan: 

Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)

@yo-gen
Copy link

yo-gen commented Mar 3, 2020

Will this be worked upon? Any plans for Rails 6 support?

@ranjithjogi88
Copy link

@yo-gen even i am checking on the same. I have a decryption issue from the rails-6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants